'Return True if `node` is an ancestor node of `child` (is upstream
of the child in the workflow). Both nodes must be in the scheme.
Parameters
node : :class:`.SchemeNode`
child : :class:`.SchemeNode`'

def is_ancestor(self, node, child):

    return (child in self.downstream_nodes(node))
