def METHOD_NAME(node):
    """
    Determine the node name. If no node name is given, read it from the app config.
    :param node: node name given by the user (can be None)
    :return:
    """
    if node is not None:
        return node
    else:
        return get_privacyidea_node()