'Checks if all parameters where configured correctly by the user,
which in this case is a mix of w3af_console, w3af_gui and the real
(human) user.'

def verify_environment(self):

    if (not self.plugins.initialized):
        msg = 'You    must    call    the    plugins.init_plugins()    method    before    calling    start().'
        raise BaseFrameworkException(msg)
    if (not self.target.has_valid_configuration()):
        raise BaseFrameworkException('No    target    URI    configured.')
    if ((not len(self.plugins.get_enabled_plugins('audit'))) and (not len(self.plugins.get_enabled_plugins('crawl'))) and (not len(self.plugins.get_enabled_plugins('infrastructure'))) and (not len(self.plugins.get_enabled_plugins('grep')))):
        msg = 'No    audit,    grep    or    crawl    plugins    configured    to    run.'
        raise BaseFrameworkException(msg)
