function tagNameHasDot(node) {
  return !!(
    node.parent
    && node.parent.name
    && node.parent.name.type === 'JSXMemberExpression'
  );
}
Test wether the tag name for the JSXAttribute is
something like <Foo.bar />
@param {JSXAttribute} node - JSXAttribute being tested.
@returns {boolean} result