function isTagName(node){if(tagConvention.test(node.parent.name.name)){// http://www.w3.org/TR/custom-elements/#type-extension-semantics
return!node.parent.attributes.some(function(attrNode){return attrNode.type==='JSXAttribute'&&attrNode.name.type==='JSXIdentifier'&&attrNode.name.name==='is';});}return false;}
Checks if a node matches the JSX tag convention.
@param {Object} node - JSX element being tested.
@returns {boolean} Whether or not the node name match the JSX tag convention.