def _getRequestNew(scriptargs):
    """Utility function to convert the "requestnew" key in scriptargs into a
       boolean.
    """
    return scriptargs.has_key("requestnew") and scriptargs["requestnew"]