In Powershell, if you want select-string to return just $True or $False you can use the -Quiet parameter

e.g. select-string -Quiet ‘Lampard’ GreatestOfAllTime.txt

…would return $True

My bad habit of the day is forgetting to put -Quiet in