class_docstr: Used as the "anonymous" user in case of guest authentication (embedded)
class_docstr_tok: ["Used","as","the","``","anonymous","''","user","in","case","of","guest","authentication","(","embedded",")"]
docstr: This is set to false because lots of code assumes that
  if user.is_anonymous, then role = Public
  But guest users need to have their own role independent of Public.
docstr_tok: ["This","is","set","to","false","because","lots","of","code","assumes","that","if","user.is_anonymous",",","then","role","=","Public","But","guest","users","need","to","have","their","own","role","independent","of","Public","."]
code: def is_anonymous(self) -> bool:
      """
      This is set to false because lots of code assumes that
      if user.is_anonymous, then role = Public
      But guest users need to have their own role independent of Public.
      """
      return False
  
file_path: superset/superset/security/guest_token.py
imports: from enum import Enum
  from typing import Optional, TypedDict, Union
  from flask_appbuilder.security.sqla.models import Role
  from flask_login import AnonymousUserMixin
label_desc: Use image node_id 2 for calling the GuestUser obj's underlying member method code with example usage: obj.is_anonymous() and returns: False