def artifact_exists(self, artifact_name):
        dst_filename = self.get_destination_filename(artifact_name)
        return os.path.exists(dst_filename)
Given an artifact name this checks if it was already produced.
dataset/ETHPy150Open lektor/lektor/lektor/builder.py/BuildState.artifact_exists