Yes. That would work. However, I also believe this will work:
(A (vendor (B (C (vendor (D E)))))).
https://groups.google.com/d/msg/golang-dev/74zjMON9glU/LjrVU...
https://groups.google.com/d/msg/golang-dev/74zjMON9glU/0e7M7...
https://groups.google.com/d/msg/golang-dev/74zjMON9glU/qGzsS...