code: def allow_listed(schema):
      for item in ALLOW_LIST_COMPILED:
          if item[0].search(str(schema)):
              if len(item) > 2 and item[2] is not None:
                  # if arguments regex is present, use it
                  return bool(item[2].search(str(schema)))
              return True
      return False
  
file_path: pytorch/test/forward_backward_compatibility/check_forward_backward_compatibility.py
imports: import argparse
  import datetime
  import re
  import sys
  import warnings
  from collections import defaultdict
  import torch
  from torch._C import parse_schema
label_desc: Use image node_id 1 for calling a global function with example usage: allow_listed(schema) and returns: False, True, bool