def encode_basestring(s):
    def replace(match):
        return ESCAPE_DCT[match.group(0)]
    return '"' + ESCAPE.sub(replace, s) + '"'
Determine if entity is persisted in the datastore.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/_internal/django/utils/simplejson/encoder.py/encode_basestring--crossover with--dataset/ETHPy150Open CollabQ/CollabQ/.google_appengine/google/appengine/ext/db/__init__.py/Model.is_saved