'Returns the default value if the requested data doesn\'t exist'

def get(self, key, default=None):

    try:
        val = self[key]
    except KeyError:
        return default
    if (val == []):
        return default
    return val
