Only check capability on initial call to start_set_net_ticktime_daemon. Also change values of capability to boolean.
Add function to wrap capability check