function isFragmentWithOnlyTextAndIsNotChild(node) {
  return node.children.length === 1
    && isJSXText(node.children[0])
    && !(node.parent.type === 'JSXElement' || node.parent.type === 'JSXFragment');
}
Somehow fragment like this is useful: <Foo content={<>ee eeee eeee ...</>} />
@param {ASTNode} node
@returns {boolean}