public static function isBooleanValue(string $value): bool
    {
        return in_array(strtolower(trim($value)), StringUtils::TRUES) || in_array(strtolower(trim($value)), StringUtils::FALSES);
    }
public static function isBooleanValue(string $value): bool
    {
        return in_array(strtolower(trim($value)), StringUtils::TRUES) || in_array(strtolower(trim($value)), StringUtils::FALSES);
    }
public static function isBooleanValue ( string $ value ) : bool { return in_array ( strtolower ( trim ( $ value ) ) , StringUtils :: TRUES ) || in_array ( strtolower ( trim ( $ value ) ) , StringUtils :: FALSES ) ; }
Check wether a string value equals a human-readable boolean value.

@param string $value
The value to check for human-readable boolean value.

@return bool Wether the given string value equals a human-readable boolean value.
Check wether a string value equals a human - readable boolean value .