def can_delete(self):
        allowed = set(self._meta.list_allowed_methods + self._meta.detail_allowed_methods)
        return 'delete' in allowed
A literal string.
dataset/ETHPy150Open mozilla/inventory/vendor-local/src/django-tastypie/tastypie/resources.py/Resource.can_delete--crossover with--dataset/ETHPy150Open brehaut/picoparse/picoparse/text.py/literal