fix: use python truthiness for compiled and/or Var operations
#6546
+38
−5
and/or Var operations
#6546