For one thing, the first function cannot return true. You have no lines that say "return true;", only "return false;".
Anyway, to check if a function returns true, just use simple syntax like this:
if(someFunction(parameter1,parameter2,etc))
{
doSomeFunction;
}
HTH,
Snib
<><