def is_customized(self): for x, val in iteritems(self.default_values): cval = self.custom_values.get(x, val) if normalize_tweak(cval) != normalize_tweak(val): return True return False