public boolean hasNodeFlag(final NodeFlag nodeFlag) {
        if (nodeFlag == null) {
            return false;
        } else {
            return NullSafe.set(nodeFlags).contains(nodeFlag);
        }
    }
@return True if this node's set of {@link NodeFlag}s contains nodeFlag.
stroom-core-shared/src/main/java/stroom/explorer/shared/ExplorerNode.java