code: def _nth_of_month(self, nth, day_of_week):
          
          if nth == 1:
              return self.first_of("month", day_of_week)
  
          dt = self.first_of("month")
          check = dt.format("YYYY-MM")
          for i in range(nth - (1 if dt.day_of_week == day_of_week else 0)):
              dt = dt.next(day_of_week)
  
          if dt.format("YYYY-MM") == check:
              return self.set(day=dt.day)
  
          return False
docs: Modify to the given occurrence of a given day of the week
          in the current month. If the calculated occurrence is outside,
          the scope of the current month, then return False and no
          modifications are made. Use the supplied consts
          to indicate the desired day_of_week, ex. pendulum.MONDAY.
  
          :type nth: int
  
          :type day_of_week: int or None
  
          :rtype: Date