code: public static boolean hasProperty(String propertyPrefix, String... propertyComponents) {
        String propertyName = propertyPrefix;
        if (propertyComponents != null && propertyComponents.length > 0) {
           propertyName += "." + StringUtils.join(propertyComponents, ".");
        }
        return getInstance().properties.containsKey(propertyName) || System.getProperties().contains(propertyName);
     }
docs: Checks if a property is in the config or or set on the system. The property name is constructed as
  <code>propertyPrefix + . + propertyComponent[0] + . + propertyComponent[1] + ...</code>
  
  @param propertyPrefix     The prefix
  @param propertyComponents The components.
  @return True if the property is known, false if not.