code: def triggered(self, manual=False):
          
  
          if self.walker is None:
              raise InternalError("You can only check if a streamer is triggered if you create it with a SensorLog")
  
          if not self.automatic and not manual:
              return False
  
          return self.has_data()
docs: Check if this streamer should generate a report.
  
          Streamers can be triggered automatically whenever they have data
          or they can be triggered manually. This method returns True if the
          streamer is currented triggered.
  
          A streamer is triggered if it:
            - (has data AND is automatic) OR
            - (has data AND is manually triggered)
  
          Args:
              manual (bool): Indicate that the streamer has been manually triggered.
  
          Returns:
              bool: Whether the streamer can generate a report right now.