isExpired abstract method
Determines whether the rate limit entry has expired.
Implementations should compare the current system time with getResetTime to decide if this entry has exceeded its lifespan. When expired, a reset is typically triggered by RateLimitStorage.
Returns:
trueif the entry has expired and should be reset.falseif the entry is still active.
Example
if (entry.isExpired()) {
entry.reset();
}
Implementation
bool isExpired();