def is_true(entity, prop, name):
    "bool: True if the value of a property is True."
    return is_not_empty(entity, prop, name) and name in entity._data and bool(getattr(entity, name))
bool: True if the value of a property is True.