code: function getAttribute(babelTypes, attributes, name) { // {{{
    return (attributes || []).find(function (attr) {
      if (babelTypes.isJSXSpreadAttribute(attr)) {
        return false;
      }
  
      return attr.name.name === name;
    });
  }
docs: }}} 
  
  
  @param {object} babelTypes - Babel lib
  @param {Array} attributes -
  @param {String} name - Attribute name
  @returns {JSXAttribute | JSXSpreadAttribute}