ismaster
Parse a response to the ‘ismaster’ command.
pymongo.ismaster.
IsMaster
Parse an ismaster response from the server.
document
The complete ismaster command response document.
New in version 3.4.