code: public boolean diffKey(DetailParam detailParam){
          if (detailParam == null) {
              return false;
          }
  
          if(!detailParam.getMethodKey().equals(this.methodKey)){
              return true;
          }
  
          return detailParam.isUrlMapping() != this.isUrlMapping();
      }
docs: Diff key boolean.
  
  @param detailParam the detail param
  @return the boolean