function to ID the complete entries

Week 2 Assignment part 1