(obj)
return (
            hasattr(obj, '__get__') or
            hasattr(obj, '__set__') or
            hasattr(obj, '__delete__')
            )
Returns True if obj is a descriptor, False otherwise.
Returns True if obj is a descriptor, False otherwise.
Returns True if obj is a descriptor False otherwise .
def _is_descriptor(obj):
    """
    Returns True if obj is a descriptor, False otherwise.
    """
    return (
            hasattr(obj, '__get__') or
            hasattr(obj, '__set__') or
            hasattr(obj, '__delete__')
            )
def _is_descriptor ( obj ) : return ( hasattr ( obj , '__get__' ) or hasattr ( obj , '__set__' ) or hasattr ( obj , '__delete__' ) )