def cache(self, obj):
        if obj in self._res:
            return False
        else:
            self._res.add(obj)
            return True
@return: true if the given class was added to cache
dataset/ETHPy150Open rwl/muntjac/muntjac/terminal/gwt/server/abstract_communication_manager.py/OpenWindowCache.cache