src/ViKon/Auth/Guard.php
public function isBlocked()
    {
        if ($this->user() === null) {
            return null;
        }

        // Check user blocking status only if User model is role based user
        if ($this->user instanceof User) {
            return $this->user->blocked;
        }

        return false;
    }
public function isBlocked()
    {
        if ($this->user() === null) {
            return null;
        }

        // Check user blocking status only if User model is role based user
        if ($this->user instanceof User) {
            return $this->user->blocked;
        }

        return false;
    }
public function isBlocked ( ) { if ( $ this -> user ( ) === null ) { return null ; } // Check user blocking status only if User model is role based user if ( $ this -> user instanceof User ) { return $ this -> user -> blocked ; } return false ; }
Return if current user is blocked

If user is not role based user, then always return false

@return bool|null return NULL if user is not authenticated
Return if current user is blocked