def derivative_ok(self):
        """Is it OK to produce derivative works?"""
        return self.can_republish and self.license_code not in "nd"
dataset/ETHPy150Open jacobian-archive/jellyroll/src/jellyroll/models.py/Photo.derivative_ok/swapped operands of `not in`