code: def exists(self):
          
          cur = self.connection.query("SHOW DATABASES LIKE '{database}'".format(database=self.database))
          return cur.rowcount > 0
docs: :return: true if the associated schema exists on the server