work_items is a response to the above query (probably the name is misleading). It can't be None. responseInfo is the body of the response, so it also cannot be empty (unless the server has some problems). 

I can add checks, but not sure if that's necessary.