Added toBoolean example