code: def data_filter(self, data):
          
          try:
              from .tcex_data_filter import DataFilter
  
              return DataFilter(self, data)
          except ImportError as e:
              warn = u'Required Module is not installed ({}).'.format(e)
              self.log.warning(warn)
docs: Return an instance of the Data Filter Class.
  
          A simple helper module to filter results from ThreatConnect API or other data
          source.  For example if results need to be filtered by an unsupported field the module
          allows you to pass the data array/list in and specify one or more filters to get just the
          results required.
  
          Args:
              data (list): The list of dictionary structure to filter.
  
          Returns:
              (object): An instance of DataFilter Class