Returns true if `entity` is an instance of :class:`.Entity` or :class:`mixbox.Entity`.
(entity)
| 146 | |
| 147 | |
| 148 | def is_entity(entity): |
| 149 | """Returns true if `entity` is an instance of :class:`.Entity` or |
| 150 | :class:`mixbox.Entity`. |
| 151 | """ |
| 152 | return isinstance(entity, (Entity, stix.Entity)) |
| 153 | |
| 154 | |
| 155 | def is_entitylist(entity): |