public static boolean isReportSpeed(Context context){
  return STATS_RATE_DEFAULT.equals(getString(context,R.string.stats_rate_key,STATS_RATE_DEFAULT));
}

public static boolean isReportSpeed ( Context context ) { return STATS_RATE_DEFAULT . equals ( getString ( context , R . string . stats_rate_key , STATS_RATE_DEFAULT ) ) ; }
returns true if the preferred rate is speed , false if the preferred rate is pace .
