public boolean hasNodeFlags(final NodeFlag... nodeFlags) {
        return NullSafe.set(this.nodeFlags)
                .containsAll(Arrays.asList(nodeFlags));
    }
@return True if this node's set of {@link NodeFlag}s contains ALL the flags in nodeFlags.
stroom-core-shared/src/main/java/stroom/explorer/shared/ExplorerNode.java