private boolean isMatchingUserGroupKey(final JsonNode node) {
        return node.get(aadAuthenticationProperties.getUserGroup().getKey()).asText()
                .equals(aadAuthenticationProperties.getUserGroup().getValue());
    }
private boolean isMatchingUserGroupKey(final JsonNode node) {
        return node.get(aadAuthenticationProperties.getUserGroup().getKey()).asText()
                .equals(aadAuthenticationProperties.getUserGroup().getValue());
    }
private boolean isMatchingUserGroupKey ( final JsonNode node ) { return node . get ( aadAuthenticationProperties . getUserGroup ( ) . getKey ( ) ) . asText ( ) . equals ( aadAuthenticationProperties . getUserGroup ( ) . getValue ( ) ) ; }
Checks that the JSON Node is a valid User Group to extract User Groups from

@param node - json node to look for a key/value to equate against the {@link UserGroupProperties}

@return true if the json node contains the correct key, and expected value to identify a user group.
Checks that the JSON Node is a valid User Group to extract User Groups from