$found = true; not used

Because they do not use the variable $found, was removed redundant logic.