attribute_has_value Callableattribute_has_value(node: Element, attribute_name: string, value_to_check: string | RegExp): booleanCheck whether an attribute has a value or notParametersnode: Elementattribute_name: stringvalue_to_check: string | RegExpReturns boolean
Check whether an attribute has a value or not