introduced function toBoolean