src/Comely/IO/Cache/Cache.php
public function isConnected(): bool
    {
        if ($this->engine) {
            $connected = $this->engine->isConnected();
            if (!$connected) {
                $this->engine = null;
            }

            return $connected;
        }

        return false;
    }
public function isConnected(): bool
    {
        if ($this->engine) {
            $connected = $this->engine->isConnected();
            if (!$connected) {
                $this->engine = null;
            }

            return $connected;
        }

        return false;
    }
public function isConnected ( ) : bool { if ( $ this -> engine ) { $ connected = $ this -> engine -> isConnected ( ) ; if ( ! $ connected ) { $ this -> engine = null ; } return $ connected ; } return false ; }
Check connection status
@return bool
Check connection status