'The cake has sugar.'='Pastanın şekeri var.' 'There is sugar in the cake.'='Pastada şeker var.' Even though 'Pastanın şekeri var.' is gramatically correct, it does not sound right to me. When we talk about a dish and say that it has some ingredient in it we say ' D-de(/da) I var.' (where D=some dish, I=some ingredient) or we say ' D I-lıdır(/lidir).'