Checks whether the specified attribute is set.
true if the specified attribute is set, false otherwise.