code: def write_message(msg, indent=False, mtype='standard', caption=False):
      
      if (mtype == 'debug' and config.DEBUG) or (mtype != 'debug' and config.VERBOSE) or mtype == 'error':
          message(msg, indent=indent, mtype=mtype, caption=caption)
docs: Writes message if verbose mode is set.