parameters: (self)
return_statement: return user.has_perm("base.view_resourcebase", obj=self.resourcebase_ptr)
docstring: Returns True if anonymous (public) user can view map.
docstring_summary: Returns True if anonymous (public) user can view map.
docstring_tokens: Returns True if anonymous ( public ) user can view map .
function: def is_public(self):
          """
          Returns True if anonymous (public) user can view map.
          """
          from guardian.shortcuts import get_anonymous_user
  
          user = get_anonymous_user()
          return user.has_perm("base.view_resourcebase", obj=self.resourcebase_ptr)
function_tokens: def is_public ( self ) : from guardian . shortcuts import get_anonymous_user user = get_anonymous_user ( ) return user . has_perm ( "base.view_resourcebase" , obj = self . resourcebase_ptr )