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