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

        if not self.__alerts:
            self.__alerts = Alerts(self.__connection)
        return self.__alerts