def is_port_trusted(port):
    return port['device_owner'].startswith(n_const.DEVICE_OWNER_NETWORK_PREFIX)
Save a copy of sys.path
dataset/ETHPy150Open openstack/neutron/neutron/common/utils.py/is_port_trusted--crossover with--dataset/ETHPy150Open babble/babble/include/jython/Lib/test/test_site.py/HelperFunctionsTests.setUp