def find_net_from_node(node, in_dict, in_keys):
    """
    Return the net name to which the given node is attached. 
    If it doesn't exist, return None
    """
    for k in in_keys:
        if node in in_dict[k]:
            return k