I want to set an access callback on a menu item (primary links) for the shopping cart so that it only displays when there is something in the cart. However, I can't find an obvious function to to this, and I don't know where to start with my own code.
Any suggestion is appreciated.