change xcache::isAvailable