<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_authoring_node(self, node):
 """ Returns if given Node is an authoring node. :param node: Node. :type node: ProjectNode or DirectoryNode or FileNode :return: Is authoring node. :rtype: bool """


        for parent_node in foundations.walkers.nodes_walker(node, ascendants=True):
            if parent_node is self.__default_project_node:
                return True
        return False