def check_module(module):
    if not hasattr(module, "do"):
        raise InvalidAction(module.__name__, "Could not find a do() method")
    if not hasattr(module, "configure_parser"):
        raise InvalidAction(module.__name__, "Could not find a configure_parser() method")
    if module.__doc__ is None:
        mess = """{module_name} has no doc string !
Please add something like:

    \"\"\" Short description of {module_name}

    A longer description here....

    \"\"\"

at the top of the file

"""
        mess = mess.format(module_path=module.__file__, module_name=module.__name__)
        raise InvalidAction(module.__name__, mess)
Getter for Traits Property children_ui_list.
dataset/ETHPy150Open aldebaran/qibuild/python/qisys/script.py/check_module--crossover with--dataset/ETHPy150Open enthought/mayavi/mayavi/core/base.py/Base._get_children_ui_list