#54017Superfluous check in GeneralUtility::inList
Description
GeneralUtility::inList does a comparison to a boolean. This results in a boolean value. Then based on this value it will return TRUE or FALSE. Instead it is enough to return the result of the comparison.