code: def belongs(self, dateTime):
      return dateTime >= self.__begin and dateTime < self.__end
  
imports: import abc
  import datetime
  import six
  from pyalgotrade.utils import dt
  from pyalgotrade import bar
label_desc: Use image node_id 2 for calling the MonthRange obj's underlying member method code with example usage: obj.belongs(dateTime) and returns: unknown