Having started to delve into some WordPress plugin modification I've recently become aware of the various page classes page_item page-item-24 current_page_item cat-item cat-item-17 current_page_ancestor current_page_parent etc.
It's come to my attention, though, that while these are all extremely helpful, there's one that's missing, and that's the "has_children" class. Basically if a post has children it would get this tag.
If I'm missing something that already does this, please do clue me in, but I've been looking around and haven't seen it. I did manage to write a parsing script that sort of let's me get the functionality such a class would give me as well, but it's a little messy.