function elementHasUrl(computedStyle, attName) {
  const style = computedStyle[attName];

  if (style?.type === 'static') {
    return includesUrlReference(style.value);
  }

  return false;
}
@param {import('../lib/types.js').ComputedStyles} computedStyle
@param {string} attName
@returns {boolean}