Closed emmanvg closed 6 years ago
It affects to_dict()
because it makes use of it, but it can also affect the general code logic when used outside.
Can we add a test that demonstrates this? I remember why we made is_plain()
, but I don't really understand the implications of this change.
https://github.com/CybOXProject/python-cybox/blob/master/cybox/common/vocabs.py#L123
Note the right-hand side of the
OR
expression will returnTrue
if anXSI_TYPE
andxsi_type
is set makingself.is_plain()
returnTrue
which isFalse
...