Make isCacheAvailable protected

This should allow people to override this function if they need to.