With some jQuery you could yep. But I'm not good enough yet to drop the full code now.
As soon I'll have to use that, I'll push you the way to do it with jQ.
I think you'll have to use "length" and test if value exists ( > 0) in the child div (in module so), then aim the parent div(s) and hide or delete it.