diff --git a/threefive/base.py b/threefive/base.py index a26ff30c..9c5ee802 100644 --- a/threefive/base.py +++ b/threefive/base.py @@ -120,9 +120,11 @@ def b2l(val): def has(self, what): """ has runs hasattr with self and what + and checks if it's set. """ if hasattr(self, what): - return True + if vars(self)[what]: + return True return False def xml(self, ns="scte35"):