def hasattr(obj, name):
    try:
        getattr(obj, name)
    except AttributeError:
        return False
    else:
        return True
a version of hasattr() that supports NetProxies
dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/python/Lib/site-packages/Rpyc/Utils/Builtins.py/hasattr