public static boolean shouldValidate(Validator validator, Project project) {
    ValidationConfiguration configuration = getInstance(project);
    return (configuration.myState.VALIDATE_ON_BUILD) && configuration.isSelected(validator);
  }
public static boolean shouldValidate(Validator validator, Project project)