public static function isAlwaysAllowed(string $method): bool
    {
        return in_array($method, [self::HEAD, self::GET]);
    }
public static function isAlwaysAllowed(string $method): bool
    {
        return in_array($method, [self::HEAD, self::GET]);
    }
public static function isAlwaysAllowed ( string $ method ) : bool { return in_array ( $ method , [ self :: HEAD , self :: GET ] ) ; }
Determine if the given method is always allowed.

@param string $method
@return bool
Determine if the given method is always allowed .