code: def is_same_day(self, dt):
          
          dt = pendulum.instance(dt)
  
          return self.to_date_string() == dt.to_date_string()
docs: Checks if the passed in date is the same day
          as the instance current day.
  
          :type dt: DateTime or datetime or str or int
  
          :rtype: bool