def name(node):
    """
    Extracts task name from a project tree node.

    :param Node node: project tree node.
    :return: task name or empty string if not present.
    :rtype: str
    """
    return node.item.name if node.item.name else ""