def isdatadescriptor(object):
    return (hasattr(object, "__set__") and hasattr(object, "__get__"))
Return true if the object is a data descriptor.
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/inspect.py/isdatadescriptor