code: def is_local(sc):
      master = sc.getConf().get("spark.master")
      return master == "local" or master.startswith("local[")
  
imports: import re
label_desc: Use image node_id 3 for calling a global function with example usage: is_local(sc) and returns: unknown