functions to check whether all bonus objects have been found