private static boolean isKeySupported ( String key ) { if ( Arrays . asList ( SUPPORTED_KEYS ) . contains ( key ) ) return true ; if ( key . endsWith ( URL_SUFFIX ) || key . endsWith ( APIKEY_SUFFIX ) || key . endsWith ( USER_SUFFIX ) || key . endsWith ( PWD_SUFFIX ) || key . endsWith ( USERPWD_SUFFIX ) ) return true ; return false ; }
Checks if the inputed key is a supported property key