code: protected boolean checkPackageLocators(String classPackageName) {
  		if (packageLocators != null && !disablePackageLocatorsScanning && classPackageName.length() > 0
  				&& (packageLocatorsBasePackage == null || classPackageName.startsWith(packageLocatorsBasePackage))) {
  			for (String packageLocator : packageLocators) {
  				String[] splitted = classPackageName.split("\\.");
  
  				if (es.cenobit.struts2.json.util.StringUtils.contains(splitted, packageLocator, false))
  					return true;
  			}
  		}
  		return false;
  	}
docs: Checks if class package match provided list of package locators
  
  @param classPackageName
  name of class package
  @return true if class package is on the {@link #packageLocators} list