PDMW API Checking in

I've found...
connection.checkin()
... in the examples, but I cannot find it in the documentation.What are the options? Is this method obsolete? If so, what is thenew commands.

SamSolidworksApi macros