def is_fcntl_available(check_sunos=False):
    if check_sunos and is_sunos():
        return False
    return HAS_FCNTL
Simple function to check if the `fcntl` module is available or not.
dataset/ETHPy150Open saltstack/salt/salt/utils/__init__.py/is_fcntl_available