Implements DrupalCacheInterface::isEmpty().
Overrides DrupalCacheInterface::isEmpty
function isEmpty() {
$this
->garbageCollection();
$query = db_select($this->bin);
$query
->addExpression('1');
$result = $query
->range(0, 1)
->execute()
->fetchField();
return empty($result);
}