code: def is_admin_user(self):
          
          user = api.user.get_current()
          roles = user.getRoles()
          return "LabManager" in roles or "Manager" in roles
docs: Checks if the user is the admin or a SiteAdmin user.
          :return: Boolean