src/Requests/StatusRequests.php
public function isLoggedIn()
    {
        $response = $this->client->get($this->uri());

        try {
            $body = $this->handleResponse($response)->getDecodedData();
        } catch (ClientException $exception) {
            return false;
        }

        return property_exists(
            $body,
            'user'
        );
    }
public function isLoggedIn()
    {
        $response = $this->client->get($this->uri());

        try {
            $body = $this->handleResponse($response)->getDecodedData();
        } catch (ClientException $exception) {
            return false;
        }

        return property_exists(
            $body,
            'user'
        );
    }
public function isLoggedIn ( ) { $ response = $ this -> client -> get ( $ this -> uri ( ) ) ; try { $ body = $ this -> handleResponse ( $ response ) -> getDecodedData ( ) ; } catch ( ClientException $ exception ) { return false ; } return property_exists ( $ body , 'user' ) ; }
Checks if the user is logged with the given credentials

@return boolean
Checks if the user is logged with the given credentials