code: def is_table(engine, sql):
      
      if engine.dialect.has_table(engine, sql):
          return True
      return False
docs: Check with the given sql arg is query or table
  
      Args:
          engine: SQLAlchemy connection engine
          sql: SQL query or table name
  
      Returns:
          True for table or False if not