private function needsRelogin(SfdcConnectionInterface $con)
    {
        return ! $con->isLoggedIn() || (time() - $con->getLastLoginTime()) > $this->connectionTTL;
    }
private function needsRelogin(SfdcConnectionInterface $con)
    {
        return ! $con->isLoggedIn() || (time() - $con->getLastLoginTime()) > $this->connectionTTL;
    }
private function needsRelogin ( SfdcConnectionInterface $ con ) { return ! $ con -> isLoggedIn ( ) || ( time ( ) - $ con -> getLastLoginTime ( ) ) > $ this -> connectionTTL ; }
Returns true if the given connection has timed out.

@param SfdcConnectionInterface $con

@return bool
Returns true if the given connection has timed out .