def is_entity(entity):
    return isinstance(entity, (Entity, stix.Entity))
Makes sure that a certain host is configured in the hosts file.
dataset/ETHPy150Open STIXProject/python-stix/stix/utils/__init__.py/is_entity--crossover with--dataset/ETHPy150Open python-provy/provy/provy/more/linux/networking/hosts.py/HostsRole.ensure_host