_symbols = {} def has(name): return name in _symbols def get(name): if name in _symbols: return _symbols[name] else: _symbols[name] = None return None def set(name, value): _symbols[name] = value