public static function existsController($key)
    {
        $instance = self::getInstance();
        foreach ($instance->getModules() as $module) {
            foreach ($module->getControllers() as $controller => $file) {
                if ($key == $controller) {
                    return true;
                }
            }
        }
        return false;
    }
public static function existsController($key)
    {
        $instance = self::getInstance();
        foreach ($instance->getModules() as $module) {
            foreach ($module->getControllers() as $controller => $file) {
                if ($key == $controller) {
                    return true;
                }
            }
        }
        return false;
    }
public static function existsController ( $ key ) { $ instance = self :: getInstance ( ) ; foreach ( $ instance -> getModules ( ) as $ module ) { foreach ( $ module -> getControllers ( ) as $ controller => $ file ) { if ( $ key == $ controller ) { return true ; } } } return false ; }
Comprueba que exista el controlador

@param $key
@return bool
Comprueba que exista el controlador