code: def connect_or_create(self, overwrite=False):
          
          connection = self._get_connection()
          if connection:
              return connection
          else:
              return self.create(overwrite=overwrite)
docs: Return a connection to the database if it exists, otherwise create it.
          Overwrite the existing database if `overwrite` is True.