Using special locked str when seeing if ndb's memcache values are corrupt

or not, fixing the corruption issue