code: def is_rootlevel(self):
          
          container_id = self._json_data.get('container')
          if container_id:
              return container_id == self._json_data.get('root_container')
          else:
              return False
docs: Determine if Activity is at the root level of a project.
  
          :return: Return True if it is a root level activity, otherwise return False
          :rtype: bool