static literalsMatch(nodes) {
    var isLiteral = (node) => {
      return node.type.includes('Literal') || node.type === 'JSXText';
    }

    return nodes[0] && nodes.every(node => {
      return node && (!isLiteral(node) || node.value === nodes[0].value);
    });
  }
Returns whether or not all nodes have the same literal value.

@param   {Node[]}  nodes
@returns {boolean}