def METHOD_NAME(
    self,
    schema_name: str,
    table_name: str,
    database_name: str = None,
) -> bool:
    connection = self.build_connection().build_connection()
    with connection.cursor() as cursor:
        cursor.execute(
            f'SELECT * FROM pg_tables WHERE schemaname = \'{schema_name}\' AND '
            f'tablename = \'{table_name}\'',
        )
        count = cursor.rowcount
        return bool(count)