seperate is_true compare for bool/int