def is_fcntl_available(check_sunos=False):
 if (check_sunos and is_sunos()):
  return False
 return HAS_FCNTL

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 .