code: function propIsRequired (prop) {
        const propRequiredNode = prop.value.properties
          .find(p =>
            p.type === 'Property' &&
            p.key.name === 'required' &&
            p.value.type === 'Literal' &&
            p.value.value === true
          )
  
        return Boolean(propRequiredNode)
      }
docs: ---------------------------------------------------------------------- Helpers ---------------------------------------------------------------------- 
  Checks if the passed prop is required
  @param {Property} prop - Property AST node for a single prop
  @return {boolean}