def entryNotFound(response):
  """ Helper routine to detect entries that are not found. """
  error_data = response.content['ietf-restconf:errors']['error'][0]
  if 'error-message' in error_data:
    err_msg = error_data['error-message']
    if err_msg == 'Entry not found':
      return True
  return False