

def has_property(self, name):
    '\n        Returns ``True`` when the attribute ``name`` is a @property.\n        '
    try:
        name.get_property(name)
        return True
    except AttributeError:
        return False

dataset/ETHPy150Open jonathanslenders/python-deployer/deployer/inspection/inspector.py Inspector.has_property/VarMisuse@18/49 `self`->`name`