check if sync is enabled