Check whether the attributes contain a certain attribute.
The attributes to check
The attribute to find
true if the attributes contain the attribute.