How about a check that if len(collected_files) == 0, then return False.