code: public static boolean validateProperty(String key, String value) {
          return !StringUtils.isBlank(key) && !StringUtils.isBlank(value);
      }
docs: Validate the key and value of a property
  
  @param key
  @param value
  @return