check if services array is not empty