code: def monitor(self, target):
          
          if 'monitor-notify' in self._capabilities and not self.is_monitoring(target):
              yield from self.rawmsg('MONITOR', '+', target)
              self._monitoring.add(target)
              return True
          else:
              return False
docs: Start monitoring the online status of a user. Returns whether or not the server supports monitoring.