added helper function for checking list rows in table