diff --git a/devlib/target.py b/devlib/target.py index 87669cd..fb628ae 100644 --- a/devlib/target.py +++ b/devlib/target.py @@ -2020,6 +2020,9 @@ class KernelConfig(object): # Expose the original text for backward compatibility self.text = text + def __bool__(self): + return bool(self.typed_config) + not_set_regex = TypedKernelConfig.not_set_regex def iteritems(self):