code: def __contains__(self, item):
      # If kernel name contains substring equal to any one in allowlist, then it uses tensor core.
      for pattern in self.allowlist:
          if pattern in item:
              return True
      return False
  
file_path: VisualDL/visualdl/component/profiler/parser/kernel_parser.py
imports: import collections
label_desc: Use image node_id 2 for calling the TC_Allowlist obj's underlying member method code with example usage: obj.__contains__(item) and returns: False, True