Tests: <HTMLElement>.hasAttr()