def get_fieldsets(self, request, obj=None):
        if not obj:
            return self.add_fieldsets
        return super(ObjectDBAdmin, self).get_fieldsets(request, obj)
Returns True if given stream is valid YAML.
dataset/ETHPy150Open evennia/evennia/evennia/objects/admin.py/ObjectDBAdmin.get_fieldsets--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/tablib-0.10.0/tablib/formats/_yaml.py/detect