if [ -z \$found ] here it is checking \$found != null and how to check if found = null in the if condition in shell script.
www.unix.com