unroll hasAttributes for compatibility with FF Nightly

One solution for #28