No need to continue the loop if we've found what we're looking for.