function isPublicMember(property, sourceCode) {
  if (
    property.type === 'object' &&
    // Props do not support @public.
    property.groupName !== 'props'
  ) {
    return isPublicProperty(property.property, sourceCode)
  }
  return false
}
Check if the given component property is marked as `@public` in JSDoc comments.
@param {ComponentPropertyData} property
@param {SourceCode} sourceCode