Actually -- in this case, it's checking whether the thing is really an AVal. `instanceof would make more sense here.