Test if the ST_Surface covers the entire space.
SELECT NEW ST_Polygon( NEW ST_Point( -180, -90, 1000004326 ), NEW ST_Point( 180, 90, 1000004326 ) ).ST_IsWorld()
SQL/MM (ISO/IEC 13249-3: 2006) 8.1.6