code: def has_table(self, table_name):
          
  
          try:
              validate_table_name(table_name)
          except NameValidationError:
              return False
  
          return table_name in self.fetch_table_names()
docs: :param str table_name: Table name to be tested.
          :return: |True| if the database has the table.
          :rtype: bool
  
          :Sample Code:
              .. code:: python
  
                  from simplesqlite import SimpleSQLite
  
                  con = SimpleSQLite("sample.sqlite", "w")
                  con.create_table_from_data_matrix(
                      "hoge",
                      ["attr_a", "attr_b"],
                      [[1, "a"], [2, "b"]])
  
                  print(con.has_table("hoge"))
                  print(con.has_table("not_existing"))
          :Output:
              .. code-block:: python
  
                  True
                  False