def METHOD_NAME():
    yaml_loaded = False
    mako_loaded = False
    try:
        global yaml
        import yaml
        yaml_loaded = True
    except ImportError:
        pass
    try:
        global Template
        from mako.template import Template
        mako_loaded = True
    except ImportError:
        pass
    msg = ''
    if not yaml_loaded:
        msg += 'ImportError: No module named yaml\nPlease easy_install PyYaml\n'
    if not mako_loaded:
        msg += 'ImportError: No module named mako.template\nPlease easy_install Mako\n'
    if not msg == '':
        print(msg)
        exit(1)