code: def getConstName(consts, value):
      attrs = [x for x in dir(consts) if x.startswith("__") is False]
      constNames = {getattr(consts, x): x for x in attrs}
      if value in constNames:
          return constNames[value]
      return None
  
file_path: mindsdb/mindsdb/api/mysql/mysql_proxy/libs/constants/mysql.py
label_desc: Use image node_id 2 for calling a global function with example usage: getConstName(consts, value) and returns: None, constNames