It would be good to use an expression to display visibility, so 'True', 'False' and Expression. The expression would just need to return a string value ("true", "false", "True", 1 etc.) that is passed to a bool parse and throws an exception if the expression can't be parsed.