check if artifact has been already generated