public boolean locationIsTorso(int loc){
  return (loc == LOC_CT) || (loc == LOC_RT) || (loc == LOC_LT);
}

public boolean locationIsTorso ( int loc ) { return ( loc == LOC_CT ) || ( loc == LOC_RT ) || ( loc == LOC_LT ) ; }
returns true if the location in question is a torso location
