This can just be `if tmpvar`.