'Determines if the check uses the specified artifact.
Args:
artifacts: Either a single artifact name, or a list of artifact names
Returns:
True if the check uses a specific artifact.'

def UsesArtifact(self, artifacts):

    if isinstance(artifacts, basestring):
        return (artifacts in self.artifacts)
    else:
        return any((True for artifact in artifacts if (artifact in self.artifacts)))
