def _validate(self):
        if ('photo', 'video', 'rich', 'link') not in self.resource_type:
            raise ValueError('resource_type must be one of "photo", "video", "rich" or "link"')
dataset/ETHPy150Open worldcompany/djangoembed/oembed/providers.py/DjangoProvider._validate/swapped operands of `not in`