IfCondition checks for boolean type