hasClass

abstract fun hasClass(player: Player, classId: Key): Boolean(source)

Returns true if the player has the class with classId or any of its subclasses in any slot.