media/src/main/java/androidx/media/MediaMetadata2.java
public boolean containsKey(@NonNull String key) {
        if (key == null) {
            throw new IllegalArgumentException("key shouldn't be null");
        }
        return mBundle.containsKey(key);
    }
/**
     * Returns true if the given key is contained in the metadata
     *
     * @param key a String key
     * @return true if the key exists in this metadata, false otherwise
     */
Returns true if the given key is contained in the metadata
@param key a String key
@return true if the key exists in this metadata, false otherwise
Returns true if the given key is contained in the metadata @param key a String key @return true if the key exists in this metadata false otherwise
public boolean containsKey(@NonNull String key) {
        if (key == null) {
            throw new IllegalArgumentException("key shouldn't be null");
        }
        return mBundle.containsKey(key);
    }
public boolean containsKey ( @ NonNull String key ) { if ( key == null ) { throw new IllegalArgumentException ( "key shouldn't be null" ) ; } return mBundle . containsKey ( key ) ; }
Returns true if the given key is contained in the metadata
 @param key a String key
 @return true if the key exists in this metadata, false otherwise
Returns true if the given key is contained in the metadata @param key a String key @return true if the key exists in this metadata false otherwise