from Globals import Persistent from OFS.SimpleItem import SimpleItem class Session(Persistent, SimpleItem): def __init__(self, id, package_id, access_key, uname): self.id = id self.package_id = package_id self.access_key = access_key self.uname = uname self.__is_manager = False def _setManager(self, val): self.__is_manager = val def isManager(self): return self.__is_manager