# INBTCompound.has [← INBTCompound](index.md) · [← Master](../../wiki.md) has(java.lang.String key) boolean Check whether this NBT compound has a value by given key.