nodes: 0, module; 1, function_definition; 2, function_name:inspect; 3, parameters; 4, block; 5, identifier:self; 6, expression_statement; 7, expression_statement; 8, expression_statement; 9, return_statement; 10, comment:"""
          Inspect a pattern.  This gives information regarding the sorts of
          operations, content, etc in use in the pattern.
  
          :return: Pattern information
          """; 11, assignment; 12, call; 13, call; 14, identifier:inspector; 15, call; 16, attribute; 17, argument_list; 18, attribute; 19, argument_list; 20, attribute; 21, argument_list; 22, identifier:self; 23, identifier:walk; 24, identifier:inspector; 25, identifier:inspector; 26, identifier:pattern_data; 27, attribute; 28, identifier:InspectionListener; 29, identifier:stix2patterns; 30, identifier:inspector
code: def inspect(self):
          """
          Inspect a pattern.  This gives information regarding the sorts of
          operations, content, etc in use in the pattern.
  
          :return: Pattern information
          """
  
          inspector = stix2patterns.inspector.InspectionListener()
          self.walk(inspector)
  
          return inspector.pattern_data()