public static final boolean isDisabledSearch(final String anyFlag)
	{
		final Set<String> set;
		String flag = anyFlag.toUpperCase().trim();
		if(flag.startsWith("ABILITY_")||flag.startsWith("EXPERTISE_")||flag.startsWith("COMMAND_")||flag.startsWith("FACTION_"))
			flag=flag.substring(flag.indexOf('_')+1);
		else
		{
			final DisFlag disFlag = (DisFlag)CMath.s_valueOf(CMSecurity.DisFlag.values(), flag);
			if(disFlag!=null) return isDisabled(disFlag);
		}
		if(CMClass.getCommand(flag)!=null)
			set=cmdDisVars;
		else
		if(CMClass.getAbility(flag)!=null)
			set=ablDisVars;
		else
		if(CMLib.expertises().getDefinition(flag)!=null)
			set=expDisVars;
		else
			set=facDisVars;
		return set.contains(flag);
	}