def METHOD_NAME(self):
    with DBSession() as db:
        cred = db.query(QBittorrentCredentials).first()
        if not cred:
            return False
        if not cred.port:
            cred.port = self.DEFAULT_PORT
        address = self.ADDRESS_FORMAT.format(cred.host, cred.port)
        client = Client(host=address, username=cred.username, password=cred.password)
        client.app_version()
        return QBittorrentClientPlugin._decorate_post(client)