function isValidDataAttribute(name) {
  return !/^data-xml/i.test(name) && /^data-[^:]*$/.test(name);
}
Checks if an attribute name is a valid `data-*` attribute:
if the name starts with "data-" and has alphanumeric words (browsers require lowercase, but React and TS lowercase them),
not start with any casing of "xml", and separated by hyphens (-) (which is also called "kebab case" or "dash case"),
then the attribute is a valid data attribute.

@param {string} name - Attribute name to be tested
@returns {boolean} Result