boolean conversion logic moved from BoolexOPS to any2Boolean