def was_handle_created(response):
    response_content = decoded_response(response)
    if ((response.status_code == 201) and (json.loads(response_content)['responseCode'] == 1)):
        return True
    return False
def was_handle_created(response):
    response_content = decoded_response(response)
    if ((response.status_code == 201) and (json.loads(response_content)['responseCode'] == 1)):
        return True
    return False