refactor check_for_row_in_list_table()