add Directory.has_node?/2

this function identifies not just if a node is known, but if it
also provides the given service