I guess it’s safe to call this unconditionally, since nothing will happen if the array is empty. Well, almost nothing. See my comment on the next line.