In JS, just check if repsonse.resources is null