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