hasVariableWithName
Determine whether a variable exists in this group.
Discussion
bool = ncfile.hasVariableWithName('t');
will return true if there exists one or more variables with that name.
bool = ncfile.hasVariableWithName('wave-vortex/t');
will return true only if exactly that variable path exists.