Connection state gives you information about how active connection currently is. You can get the current state by calling Doctrine_Connection::getState().