docs: private boolean attributeEquals(Object value, Object otherValue) {
          if (value == null && otherValue == null) {
              return true;
          } else if (value == null || otherValue == null) {
              return false;
          } else {
              if (value.getClass().isArray()) {
                  return Arrays.equals((Object[]) value, (Object[]) otherValue);
                    
              } else {
                  return value.equals(otherValue);
              }
          }
      }