hasCooldown

fun hasCooldown(entity: Entity): Boolean(source)

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