src/Traits/RateLimitsCalls.php
public function isRateLimited(): bool
    {

        if (cache()->get($this->getRateLimitKey()) < $this->getRateLimit())
            return false;

        return true;
    }
public function isRateLimited(): bool
    {

        if (cache()->get($this->getRateLimitKey()) < $this->getRateLimit())
            return false;

        return true;
    }
public function isRateLimited ( ) : bool { if ( cache ( ) -> get ( $ this -> getRateLimitKey ( ) ) < $ this -> getRateLimit ( ) ) return false ; return true ; }
Checks if the current cache key is to be considered rate limited.

@return bool
@throws \Exception
Checks if the current cache key is to be considered rate limited .