GD ; snack befor bed

i was told to eat a snack with my last dose of insulin before bed . is a whole ot half a banana okay ? i know its alot of sugar so maybe half ?