code: def myfunc(x):
      return hasattr(x, "set_color") and not hasattr(x, "set_facecolor")
  
imports: import matplotlib.pyplot
  import numpy
  import matplotlib.text
label_desc: Use image node_id 1 for calling a global function with example usage: myfunc(x) and returns: unknown