We don't need the if( sdk != null) since that condition will already be checked by the first isNullOrEmpty() check.