code: func (msp *bccspmsp) SatisfiesPrincipal(id Identity, principal *m.MSPPrincipal) error {
  	principals, err := collectPrincipals(principal, msp.GetVersion())
  	if err != nil {
  		return err
  	}
  	for _, principal := range principals {
  		err = msp.internalSatisfiesPrincipalInternalFunc(id, principal)
  		if err != nil {
  			return err
  		}
  	}
  	return nil
  }
docs: // SatisfiesPrincipal returns null if the identity matches the principal or an error otherwise