add some utility methods for dealing with true/false