def _from_db(self, model_instance):
        return bool(model_instance._state.adding and model_instance.pk)
Used to set `disabled_actions_index`.
dataset/ETHPy150Open djangonauts/django-hstore/django_hstore/fields.py/SerializedDictionaryField._from_db--crossover with--dataset/ETHPy150Open lsaffre/lino/lino/core/store.py/Store.column_index