def is_property(obj, attribute):
    """ Check if object attribute is a property

    :param obj:
    :param attribute:
    :return:
    """
    try:
        return isinstance(type(obj).__getattribute__(obj, attribute), property)
    except AttributeError:
        return False
