private boolean isEmpty() {
        return (map==null || map.isEmpty()) && (unmodifiableMap ==null || unmodifiableMap.isEmpty());
    }
Create a WRITABLE instance with some initial state
container-search/src/main/java/com/yahoo/search/query/profile/CopyOnWriteContent.java