Check if node is independent before adding more dependencies