Go back to getattr.
Go back to getattr.

The original change at https://reviews.reviewboard.org/r/4241/ used getattr,
and I (David) changed it to hasattr because I'm dumb. Trivial update.

haosdent/rbtools,davidt/rbtools,datjwu/rbtools,beol/rbtools,reviewboard/rbtools,halvorlu/rbtools,haosdent/rbtools,reviewboard/rbtools,1tush/rbtools,davidt/rbtools,datjwu/rbtools,haosdent/rbtools,halvorlu/rbtools,beol/rbtools,davidt/rbtools,datjwu/rbtools,halvorlu/rbtools,reviewboard/rbtools,beol/rbtools