The node you are looking for is at get_netsync_read_permitted.