def packageExists(self, package):
url = "<STR_LIT>" % self.base_url<EOL>params = {"<STR_LIT>": package}<EOL>response = requests.get(url, params=params)<EOL>if response.status_code != requests.codes.ok:<EOL><INDENT>return False<EOL><DEDENT>return True<EOL>
Check if the package already exists

        :param package: package name
        :type  package: string