Checks whether the value of a specified attribute is set.
true if the attribute has a value; otherwise, the method returns false (it means that the attribute value is not set).