src/LightSaml/SamlConstants.php
public static function isLogoutReasonValid($value)
    {
        static $arr = array(
            self::LOGOUT_REASON_USER,
            self::LOGOUT_REASON_ADMIN,
            self::LOGOUT_REASON_GLOBAL_TIMEOUT,
            self::LOGOUT_REASON_SP_TIMEOUT,
        );

        return in_array($value, $arr);
    }
public static function isLogoutReasonValid($value)
    {
        static $arr = array(
            self::LOGOUT_REASON_USER,
            self::LOGOUT_REASON_ADMIN,
            self::LOGOUT_REASON_GLOBAL_TIMEOUT,
            self::LOGOUT_REASON_SP_TIMEOUT,
        );

        return in_array($value, $arr);
    }
@param string $value

@return bool