weirdops implicit conversions to soften boolean check in scala ala python