def is_entitylist(entity):
    return isinstance(entity, (EntityList, stix.EntityList))
Returns true if `entity` is an instance of :class:`.EntityList`
dataset/ETHPy150Open STIXProject/python-stix/stix/utils/__init__.py/is_entitylist