Updated data check in request to use isEmpty call.