What version of menu writer are you using? I think the latest version adds a class for parent menu items so that you can easily differentiate from elements without children in the CSS.
Do you have a sample menu url? I might be able to suggest how to do it.