ToolForm: Handle boolean definition without modifying shared code