code: protected function cachingIsPossible() {
          if (static::$_cachingIsPossible === null) {
              /** @var \AlternativeLaravelCache\Core\AlternativeCacheStore $cache */
              $storeClass = '\AlternativeLaravelCache\Core\AlternativeCacheStore';
              $poolInterface = '\Cache\Taggable\TaggablePoolInterface';
              $cache = app('cache.store')->getStore();
              static::$_cachingIsPossible = (
                  $cache instanceof $storeClass
                  && $cache->getWrappedConnection() instanceof $poolInterface
              );
          }
          return static::$_cachingIsPossible;
      }
docs: Detect if caching is possible
  @return bool