Config "contains" method

More questions, hooray!

Why isn’t there a clear contains methods for the config? It would be nice instead of having to make my own methods that don’t return correctly half the time. Here’s what I have:
public boolean contains(Object... path){ return rootNode.getNode(path) != null; }

All comments are greatly appreciated.

I believe that nodes are always “present” in configurate classes.

in order to check whether a node is actually backed by a physical node, or if it’s just virtual, you can do configNode.isVirtual()

I will try that and let you know if it works.

EDIT:
Works, thank you.