def is_port_trusted(port):
    return port['device_owner'].startswith(n_const.DEVICE_OWNER_NETWORK_PREFIX)
Used to determine if port can be trusted not to attack network.
dataset/ETHPy150Open openstack/neutron/neutron/common/utils.py/is_port_trusted