<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def stop_polling(self):
 """ Break long-polling process. :return: """

        if hasattr(self, '_polling') and self._polling:
            log.info('Stop polling...')
            self._polling = False