contains_attribute method

contains_attribute(self, attribute)

Determines whether the element contains a specific attribute.

Returns

true if attribute is exist; otherwise false.


def contains_attribute(self, attribute):
    ...
Parameter Type Description
attribute System.String Attribute name.

See Also