src/Tomahawk/Authentication/AuthenticationProvider.php
public function isLoggedIn()
    {
        if (null === $this->loggedIn) {
            $this->user = $this->loadUser();
            $this->loggedIn = $this->user instanceof UserInterface;
        }

        return $this->loggedIn;
    }
public function isLoggedIn()
    {
        if (null === $this->loggedIn) {
            $this->user = $this->loadUser();
            $this->loggedIn = $this->user instanceof UserInterface;
        }

        return $this->loggedIn;
    }
Check if user is logged in

@return bool