bandwidthThrottle\tokenBucket\storage\PredisStorage::isBootstrapped PHP Method

isBootstrapped() public method

public isBootstrapped ( )
    public function isBootstrapped()
    {
        try {
            return (bool) $this->redis->exists($this->key);
        } catch (PredisException $e) {
            throw new StorageException("Failed to check for key existence", 0, $e);
        }
    }