Readability

In general I don't think using hasattr() is wrong, but here it led to a
pretty opaque line-wrapping orgy and I cannot say I like those either.