Hmmm, let's compress all that elif stuff:

true_in = ["vport", "virtual_server", "service_group", "server", "health_monitor"]
if any([x in response for x in true_in]):
    return true

So the same for error codes and such.