def can_create(self):
        allowed = set(self._meta.list_allowed_methods + self._meta.detail_allowed_methods)
        return 'post' in allowed
Checks to ensure ``post`` is within ``allowed_methods``.
dataset/ETHPy150Open toastdriven/piecrust/piecrust/resources.py/Resource.can_create