You could just use `return response[0] == 201`