def packageExists(self, package):
		"""Check if the package already exists

		:param package: package name
		:type  package: string
		"""
		url = "%s/packages" % self.base_url
		params = {"pattern": package}
		response = requests.get(url, params=params)
		if response.status_code != requests.codes.ok:
			return False

		return True
Check if the package already exists

		:param package: package name
		:type  package: string