hasCooldown

fun hasCooldown(entity: Entity): Boolean

Checks if this entity currently has the given cooldown (specified by key).