public boolean contains(String key) {
        return map.containsKey(key);
    }
Tests whether this Metadata contains a binding for a key.
indexr-query-opt/src/main/java/org/apache/spark/sql/types/Metadata.java