def is_bsd():

    system = platform.system()
    if system == 'Darwin':
        return True
    if 'bsd' in system.lower():
        return True
    return False
Return True on BSD-based systems.
dataset/ETHPy150Open openstack/neutron/neutron/tests/tools.py/is_bsd