Yep, that's works :D
I've used this for years but always hated it because I didn't understand it. Now I guess that although the original function returns false, there is nowhere calling for a return value as there would be if you wrote:$bool = doFunction(this); if ($bool){...
so by writing:return doFunction()
The 'return false
' returned from the function has some where to return to?