`if (!templateOptions.getNetworks().isEmpty())`?