def isinstance(obj, bases):
    """a version of isinstance that supports NetProxies"""
    try:
        cls = obj.__getattr__("__class__")
    except __HOLE__:
        try:
            cls = obj.__class__
        except AttributeError:
            cls = orig_type(obj)
    return issubclass(cls, bases)
dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/python/Lib/site-packages/Rpyc/Utils/Builtins.py/isinstance