Evaluate hook result as a boolean, instead of comparing it to None