isOccupied

fun isOccupied(material: Material, customModelData: Int): Boolean

Checks whether the given customModelData is occupied under the specified material.