A function to check the integrity of analysr tables

check_tables_integrity()