MCPcopy Create free account
hub / github.com/STIXProject/python-stix / is_plain

Method is_plain

stix/common/structured_text.py:48–55  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

46 self.ordinality = ordinality
47
48 def is_plain(self):
49 plain = (
50 (not self.id_) and
51 (not self.structuring_format) and
52 (self.ordinality is None)
53 )
54
55 return plain
56
57 def to_dict(self):
58 """Converts this object into a dictionary representation.

Callers 1

to_dictMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected