def get_using_network_time():
 ret = salt.utils.mac_utils.execute_return_result('systemsetup -getusingnetworktime')
 return (salt.utils.mac_utils.validate_enabled(salt.utils.mac_utils.parse_return(ret)) == 'on')

def get_using_network_time ( ) : ret = salt . utils . mac_utils . execute_return_result ( 'systemsetup -getusingnetworktime' ) return ( salt . utils . mac_utils . validate_enabled ( salt . utils . mac_utils . parse_return ( ret ) ) == 'on' )
display whether network time is on or off :return: true if network time is on .