def METHOD_NAME(self) -> bool:
    inspector = inspect(self.engine)
    model_mapping = {
        "flow": models.Flow,
        "user": models.User,
        "apikey": models.ApiKey,
        # Add other SQLModel classes here
    }
    # To account for tables that existed in older versions
    legacy_tables = ["flowstyle"]
    for table, model in model_mapping.items():
        expected_columns = list(model.__fields__.keys())
        try:
            available_columns = [
                col["name"] for col in inspector.get_columns(table)
            ]
        except sa.exc.NoSuchTableError:
            logger.error(f"Missing table: {table}")
            return False
        for column in expected_columns:
            if column not in available_columns:
                logger.error(f"Missing column: {column} in table {table}")
                return False
    for table in legacy_tables:
        if table in inspector.get_table_names():
            logger.warning(f"Legacy table exists: {table}")
    return True