marketpress - can we display on sidebar only if item were added

Hello, I was wondering if it is possible to display the shopping cart widget area on the sidebar ONLY if there were products added?

I guess by adding an if statement