code: def fail(msg="", pytrace=True):
      """
      Explicitly fail an executing test with the given message.
  
      :param str msg: the message to show the user as reason for the failure.
      :param bool pytrace: if false the msg represents the full failure information and no
          python traceback will be reported.
      """
      __tracebackhide__ = True
      raise Failed(msg=msg, pytrace=pytrace)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import sys
  from packaging.version import Version
label_desc: Use image node_id 3 for calling a global function with example usage: fail(msg, pytrace) without return types