Another method is to create a custom record and deploy an SS1.0 user event on it that calls into the SS1.0 library and sets the return value on the custom record
When you create and save an instance of the custom record in SS2.0 you can check the result value on the record