def get(self, key, default_val):
    val = self.values.get(key)
    return (val if (val is not None) else default_val)
def get(self, key, default_val):
    val = self.values.get(key)
    return (val if (val is not None) else default_val)