src/whatsprot.class.php
public function isLoggedIn()
    {
        //If you aren't connected you can't be logged in! ($this->isConnected())
        //We are connected - but are we logged in? (the rest)
        return $this->isConnected() && !empty($this->loginStatus) && $this->loginStatus === Constants::CONNECTED_STATUS;
    }
public function isLoggedIn()
    {
        //If you aren't connected you can't be logged in! ($this->isConnected())
        //We are connected - but are we logged in? (the rest)
        return $this->isConnected() && !empty($this->loginStatus) && $this->loginStatus === Constants::CONNECTED_STATUS;
    }
public function isLoggedIn ( ) { //If you aren't connected you can't be logged in! ($this->isConnected()) //We are connected - but are we logged in? (the rest) return $ this -> isConnected ( ) && ! empty ( $ this -> loginStatus ) && $ this -> loginStatus === Constants :: CONNECTED_STATUS ; }
Have we an active connection with WhatsAPP AND a valid login already?

@return bool
Have we an active connection with WhatsAPP AND a valid login already?