def hasServerError(msg, errmsg):
    """ Return 'True' if one of the given response messages from the
        vclient contains a 'SRV ERR:' (server error).
    """

    if not msg or 'SRV ERR:' in msg.decode():
        return True

    if errmsg and 'SRV ERR:' in errmsg.decode():
        return True

    return False