def has_symbol(self, symname):
        try:
            g = self.get_symbol(symname)
            return True
        except (LookupError, NameError, __HOLE__):
            return False
dataset/ETHPy150Open xraypy/xraylarch/lib/symboltable.py/SymbolTable.has_symbol