code: func (d DecrypterJSON) IsEncrypted(object interface{}) bool {
  	inData, ok := object.([]byte)
  	if !ok {
  		return false
  	}
  
  	var jsonData EncryptionCheck
  	err := json.Unmarshal(inData, &jsonData)
  	return err == nil && jsonData.IsEncrypted
  }
docs: // IsEncrypted checks if provided data are marked as encrypted. First it tries to unmarshal JSON to EncryptionCheck
  // and then check the IsEncrypted for being true