class_docstr: This class can be applied to a data source as a filter and will filter out
  intraday bars which fall outside of the regular session times (ie: pre/post
  market data)
  
  This is a "non-simple" filter and must manage the stack of the data (passed
  during init and __call__)
  
  It needs no "last" method because it has nothing to deliver
class_docstr_tok: ["This","class","can","be","applied","to","a","data","source","as","a","filter","and","will","filter","out","intraday","bars","which","fall","outside","of","the","regular","session","times","(","ie",":","pre\/post","market","data",")","This","is","a","``","non-simple","''","filter","and","must","manage","the","stack","of","the","data","(","passed","during","init","and","__call__",")","It","needs","no","``","last","''","method","because","it","has","nothing","to","deliver"]
docstr: Return Values:
  
    - False: data stream was not touched
    - True: data stream was manipulated (bar outside of session times and
    - removed)
docstr_tok: ["Return","Values",":","-","False",":","data","stream","was","not","touched","-","True",":","data","stream","was","manipulated","(","bar","outside","of","session","times","and","-","removed",")"]
code: def __call__(self, data):
      """
      Return Values:
  
        - False: data stream was not touched
        - True: data stream was manipulated (bar outside of session times and
        - removed)
      """
      if (
          data.p.sessionstart
          <= data.datetime.time(0)
          <= data.p.sessionend
      ):
          # Both ends of the comparison are in the session
          return False  # say the stream is untouched
  
      # bar outside of the regular session times
      data.backwards()  # remove bar from data stack
      return True
  
file_path: backtrader/backtrader/filters/session.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  from datetime import datetime, timedelta
  from backtrader import TimeFrame
  from backtrader.utils.py3 import with_metaclass
  from ..None import metabase
label_desc: Use image node_id 2 for calling the SessionFilter obj's underlying member method code with example usage: obj.__call__(data) and returns: True, False