hasCooldownExpired

fun hasCooldownExpired(requiredTimeInSeconds: Long): Boolean

Check if the cooldown's required time (seconds!) has surpassed since the starting point.

Return

if the cooldown has expired.

Parameters

requiredTimeInSeconds

how many seconds should the cooldown have lasted?