def hasChildren(self):
        return not self.isSeparator() and self._itsChildren is not None
Typecheck and fix up some arguments supplied to various methods.
dataset/ETHPy150Open rwl/muntjac/muntjac/ui/menu_bar.py/MenuItem.hasChildren--crossover with--dataset/ETHPy150Open babble/babble/include/jython/Lib/distutils/ccompiler.py/CCompiler._fix_object_args