Checks if a cache bin is empty.
A cache bin is considered empty if it does not contain any valid data for any cache ID.
$bin: The cache bin to check.
TRUE if the cache bin specified is empty.
function cache_is_empty($bin) {
return _cache_get_object($bin)
->isEmpty();
}