def onlyif(condition, msg):
 if callable(condition):
  skip_condition = (lambda : (not condition()))
 else:
  skip_condition = (lambda : (not condition))
 return skipif(skip_condition, msg)

def onlyif ( condition , msg ) : if callable ( condition ) : skip_condition = ( lambda : ( not condition ( ) ) ) else : skip_condition = ( lambda : ( not condition ) ) return skipif ( skip_condition , msg )
the reverse from skipif .