def rpc_completion_callback(callback):
    """Verify callback is callable if not None

    :returns: boolean indicating nowait
    :rtype: bool
    :raises: TypeError

    """
    if callback is None:
        return True
    if callable(callback):
        return False
    else:
        raise TypeError('completion callback must be callable if not None')
