Added a couple of methods for checking if an artifact exists.