code: def is_within_limits(self, limit, date, dates):
          
          return any((self.second_diff(date, d) <= limit for d in dates))
docs: Returns True if the difference between date and any value in dates
          is less than or equal to limit.