def get_status(self, admin=False):

        # get status for super
        status = super(MongodServer, self).get_status(admin=admin)

        if status not in "error" and admin:
            rs_summary = self.get_rs_status_summary()
            if rs_summary:
                status["selfReplicaSetStatusSummary"] = rs_summary

        return status

    ###########################################################################
dataset/ETHPy150Open mongolab/mongoctl/mongoctl/objects/mongod.py/MongodServer.get_status/swapped operands of `not in`