def save(self):
        try:
            ModuleSetting.set_for_module('default_contact_type',
                                         self.cleaned_data[
                                             'default_contact_type'].id,
                                         'treeio.identities')

        except Exception:
            return False
Compare two indexes.
dataset/ETHPy150Open treeio/treeio/treeio/identities/forms.py/SettingsForm.save--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py/Index.__eq__