boolean checkRequiredParameters(String accessToken, String userAgent) {
    boolean areValidParameters = areRequiredParametersValid(accessToken, userAgent);
    if (areValidParameters) {
      initializeTelemetryClient();
    }
    return areValidParameters;
  }
boolean checkRequiredParameters ( String accessToken , String userAgent ) { boolean areValidParameters = areRequiredParametersValid ( accessToken , userAgent ) ; if ( areValidParameters ) { initializeTelemetryClient ( ) ; } return areValidParameters ; }
Package private (no modifier) for testing purposes