code: def connect_engine(self):
          
          try:
              self.connection = self.engine.connect()
              return True
          except sa.exc.OperationalError as opex:
              LOG.fatal("Could not connect to the database. The error was: '%s'",
                        str(opex))
          return False
docs: Establish a connection to the database.
  
          Provides simple error handling for fatal errors.
  
          Returns:
              True, if we could establish a connection, else False.