<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def has_api_scopes(self, *api_scopes):
 """ Test if all given API scopes are authorized. :type api_scopes: list[str] :param api_scopes: The API scopes to test :rtype: bool|None :return: True or False, if the API Token has the API scopes field set, otherwise None """

        if self._authorized_api_scopes is None:
            return None
        return all((x in self._authorized_api_scopes) for x in api_scopes)