just FYI, if you just want to differentiate between a string and `None`,  `if self.tab_label:` will suffice here. Only difference is that values of `False` and empty list will also be skipped.