code: def invalidInputError(condition, errMsg, fixMsg=None):
      if not condition:
          outputUserMessage(errMsg, fixMsg)
          raise RuntimeError(errMsg)
  
imports: import logging
label_desc: Use image node_id 2 for calling a global function with example usage: invalidInputError(condition, errMsg, fixMsg) without return types