class CommandHelper {

    public static boolean hasCommand(String commandName) {

        BaseCommand command = null;
        try {
            command = ExtensionLoader.getExtensionLoader(BaseCommand.class).getExtension(commandName);
        } catch (Throwable throwable) {
            return false;
        }

        return command != null;

    }

    private  CommandHelper();

}