packages/babel-plugin-transform-class-display-name/lib/index.js
function isRenderMethod (props) {
    return props.some((prop) => {
      return prop.key.name === 'key' && prop.value.value === 'render'
    }) && props.some((prop) => {
      return prop.key.name === 'value' && t.isFunctionExpression(prop.value)
    })
  }
function isRenderMethod (props) {
    return props.some((prop) => {
      return prop.key.name === 'key' && prop.value.value === 'render'
    }) && props.some((prop) => {
      return prop.key.name === 'value' && t.isFunctionExpression(prop.value)
    })
  }
function isRenderMethod ( props ) { return props . some ( ( prop ) => { return prop . key . name === 'key' && prop . value . value === 'render' } ) && props . some ( ( prop ) => { return prop . key . name === 'value' && t . isFunctionExpression ( prop . value ) } ) }
Determine if a property definition is for a render method
Determine if a property definition is for a render method