def _check_form(self, obj):

        if hasattr(obj, 'form') and not issubclass(obj.form, BaseModelForm):
            return must_inherit_from(parent='BaseModelForm', option='form',
                                     obj=obj, id='admin.E016')
        else:
            return []
Convert to the wire format.
dataset/ETHPy150Open django/django/django/contrib/admin/checks.py/BaseModelAdminChecks._check_form--crossover with--dataset/ETHPy150Open google/grr/grr/lib/rdfvalues/structs.py/ProtoList.ConvertToWireFormat