docs: function mayContainTextNode(node) {
  
    var result = true;
  
    var elementsThatDontContainText = ['rect', 'circle', 'ellipse', 'line', 'polygon', 'polyline', 'path', 'image', 'stop'];
    var elementsThatCouldContainText = ['g', 'clipPath', 'marker', 'mask', 'pattern', 'linearGradient', 'radialGradient', 'symbol'];
  
    if(node.type == 'comment') {
      result = false;
    }
    else if(_(elementsThatDontContainText).include(node.name)) {
      result = false;
    }
    else if(_(elementsThatCouldContainText).include(node.name)) {
      result = false;
      if(!_(node.children).isUndefined() && node.children.length) {
        result = _(node.children).any(mayContainTextNode);
      }
    }
  
    return result;
  
  }