PERI-3 check if nodemanager exists before decommission