code: public boolean isUsedMyRule(ValidationData item) {
          List<ValidationRule> usedRules = item.getValidationRules();
          if (usedRules == null || usedRules.isEmpty()) {
              return false;
          }
          return usedRules.stream().filter(ur -> ur.getRuleName().equals(this.ruleName) && ur.isUse()).findAny().orElse(null) != null;
      }
docs: Is used my rule boolean.
  
  @param item the item
  @return the boolean