If cart is disabled

Hi,

I use for my theme the mp_product.php template, so in order to show the Buy Now button I use
`<?php mp_buy_button();?>'
Unfortunately, if I disable the cart, the Buy Now button will not disappear.
What is the if statement that I have to use in order to achieve the result I want ?

Thanks!