Really check for Yes/True/1 in true/false tests instead of if it's just not empty.