def call_succeeded(response):
    """Returns True if the call succeeded, False otherwise."""

    #Failed responses always have a success=False key.
    #Some successful responses do not have a success=True key, however.

    if 'success' in response.keys():
        return response['success']
    else:
        return True