openlibrary
openlibrary copied to clipboard
improved is_loaned_out logic
Closes #9118
Technical
Add typehints to the function to reflect what it actually returns. Update the logic as mentioned here.
Testing
I'm not sure how to test this. But I expect that this is addressing an edge case that isn't too common.
Screenshot
Stakeholders
@mekarpeles