code: def includeBar(self, bar_):
      if self.__toDate and bar_.getDateTime() > self.__toDate:
          return False
      if self.__fromDate and bar_.getDateTime() < self.__fromDate:
          return False
      return True
  
imports: import datetime
  import pytz
  import six
  from pyalgotrade.utils import dt
  from pyalgotrade.utils import csvutils
  from pyalgotrade.barfeed import membf
  from pyalgotrade import bar
label_desc: Use image node_id 2 for calling the DateRangeFilter obj's underlying member method code with example usage: obj.includeBar(bar_) and returns: True, False, False