def is_date(obj):
    return isinstance(obj, datetime.date) and not isinstance(obj, datetime.datetime)
Add an item in the history.
dataset/ETHPy150Open django-predicate/django-predicate/predicate/lookup_utils.py/is_date--crossover with--dataset/ETHPy150Open kwikteam/phy/phy/cluster/manual/_history.py/History.add