yii\redis\Connection::getIsActive PHP Метод

getIsActive() публичный Метод

Returns a value indicating whether the DB connection is established.
public getIsActive ( ) : boolean
Результат boolean whether the DB connection is established
    public function getIsActive()
    {
        return $this->_socket !== false;
    }