unroll hasAttributes for compatibility with FF Nightly
Merge pull request #29 from sjmiles/v2

unroll hasAttributes for compatibility with FF Nightly