containsValue

open fun containsValue(value: NBT): Boolean

Returns true if the compound maps one or more keys to the specified value.