def has_default(self):
        return self._default is not NOT_PROVIDED
Returns a boolean of whether this field has a default value.
dataset/ETHPy150Open hzlf/openbroadcast/website/apps/tastypie__/fields.py/ApiField.has_default