code: def is_moderated(self, curr_time, pipe):
          '''
          Tests to see if the moderation limit is not exceeded
  
          @return: True if the moderation limit is exceeded
          '''
          # get key, otherwise default the moderate key expired and
          # we dont care
          value = pipe.get(self.moderate_key)
          if value is None:
              value = 0.0
          else:
              value = float(value)
  
          # check moderation difference
          if (curr_time - value) < self.moderation:
              return True
  
          return Falsf is_moderated(self, curr_time, pipe):
          '''
          Tests to see if the moderation limit is not exceeded
  
          @return: True if the moderation limit is exceeded
          '''
          # get key, otherwise default the moderate key expired and
          # we dont care
          value = pipe.get(self.moderate_key)
          if value is None:
              value = 0.0
          else:
              value = float(value)
  
          # check moderation difference
          if (curr_time - value) < self.moderation:
              return True
  
          return False
docs: Tests to see if the moderation limit is not exceeded
  
          @return: True if the moderation limit is exceeded