AttrListPtr has an overloaded operator== which does this for us, we should use