has_non_empty_attribute Callablehas_non_empty_attribute(node: Element, attribute_name: string, allow_null?: boolean): booleanCheck whether the given tag has a non-empty attribute with the given name. Empty string ("") is accepted if optional parameter allow_null is trueParametersnode: Elementattribute_name: stringallow_null: boolean = falseReturns boolean
Check whether the given tag has a non-empty attribute with the given name. Empty string (
""
) is accepted if optional parameterallow_null
is true