code: def _del_attributes(module, attributes, raise_on_error=False):
      for attr in attributes:
          try:
              delattr(module, attr)
          except AttributeError as e:
              if raise_on_error:
                  raise e
      return module
  
label_desc: Use image node_id 2 for calling a global function with example usage: _del_attributes(module, attributes, raise_on_error) and returns: module