# IScriptItemStack.hasData [← IScriptItemStack](index.md) · [← Master](../../wiki.md) hasData() boolean Check whether an item stack has an NBT compound tag.