Updating isDSOS and isSDSOS functions to use spot_mosek.

These are utility functions I wrote a while ago to check if a polynomial is DSOS/SDSOS. I made some tiny updates to them to make them work again with the new syntax.