private boolean propertyExists(String key) {
        String value = getProperty(key);
        return (null != value && 0 < value.length());
    }
private boolean propertyExists ( String key ) { String value = getProperty ( key ) ; return ( null != value && 0 < value . length ( ) ) ; }
Check whether the input key exists as a non-null and non-empty
property. The existing containsKey() only checks for non-null.

@param key
@return boolean