public function hasSessionTokens()
    {
        return ($this->session->has(self::SESSION_TOKEN_KEY)
            && $this->session->has(self::SESSION_TOKEN_SECRET_KEY));
    }
public function hasSessionTokens()
    {
        return ($this->session->has(self::SESSION_TOKEN_KEY)
            && $this->session->has(self::SESSION_TOKEN_SECRET_KEY));
    }
public function hasSessionTokens ( ) { return ( $ this -> session -> has ( self :: SESSION_TOKEN_KEY ) && $ this -> session -> has ( self :: SESSION_TOKEN_SECRET_KEY ) ) ; }
Checks if there is a token in the session

@return bool
Checks if there is a token in the session