code: def warnif(cond, msg):
      if not cond:
          print(msg, "does not hold")
  
imports: import numpy
  from scipy import stats
  from scipy.special import comb
  from scipy.stats.distributions import rv_continuous
  import matplotlib.pyplot
  from numpy import where, inf
  from numpy import abs
label_desc: Use image node_id 3 for calling a global function with example usage: warnif(cond, msg) without return types