code: def is_active(self, timperiods):
          
          now = int(time.time())
          timperiod = timperiods[self.modulation_period]
          if not timperiod or timperiod.is_time_valid(now):
              return True
          return False
docs: Know if this result modulation is active now
  
          :return: True is we are in the period, otherwise False
          :rtype: bool