<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def scopes(self):
 """ Gets the Scopes API client. Returns: Scopes: """

        if not self.__scopes:
            self.__scopes = Scopes(self.__connection)
        return self.__scopes