code: def check_vprint(s, vprinter):
      '''checked verbose printing'''
      if vprinter is True:
          print(s);
      elif callable(vprinter):
          vprinter(s)f check_vprint(s, vprinter):
      '''checked verbose printing'''
      if vprinter is True:
          print(s);
      elif callable(vprinter):
          vprinter(s);
docs: checked verbose printing