Implements Drupal\Core\Cache\CacheBackendInterface::isEmpty().
Overrides CacheBackendInterface::isEmpty
public function isEmpty() {
$this
->garbageCollection();
$query = Database::getConnection()
->select($this->bin);
$query
->addExpression('1');
$result = $query
->range(0, 1)
->execute()
->fetchField();
return empty($result);
}