code: def check_for_attribute_on(model, attributes_to_check):
      for attr in attributes_to_check:
          if hasattr(model, attr):
              return attr
      return None
  
imports: from warnings import simplefilter
  import numpy
  import wandb
label_desc: Use image node_id 3 for calling a global function with example usage: check_for_attribute_on(model, attributes_to_check) and returns: None, attr