bandwidthThrottle\tokenBucket\storage\PDOStorage::isBootstrapped PHP Метод

isBootstrapped() публичный Метод

public isBootstrapped ( )
    public function isBootstrapped()
    {
        try {
            return (bool) $this->querySingleValue("SELECT 1 FROM TokenBucket WHERE name=?", [$this->name]);
        } catch (StorageException $e) {
            // This seems to be a portable way to determine if the table exists or not.
            return false;
        }
    }