How to control 'islandness' in UV's with Python

Hi!

I’m writing a file importer for a legacy file format.

I have a list of UV values matched to point indices I’d like to load, but I’m having a bit of a problem with island-ness. How do I control which UV polygons combine into islands, and which don’t?