public static function verifyScopes($scopes, $accessToken=null)
    {
        // Check access_token
        if (!$tokenInfo = self::verifyAccessToken($accessToken)) return false;

        $scopeString = $tokenInfo['scope'];

        // Check scope for each
        foreach ($scopes as $key => $scope) {
            
            if (stripos($scopeString, $scope) === false) return false;
        }

        return true;
    }