private boolean sample(){
  Sampler[] samplers=curSamplers;
  for (  Sampler sampler : samplers) {
    if (sampler.next()) {
      return true;
    }
  }
  return false;
}

private boolean sample ( ) { Sampler [ ] samplers = curSamplers ; for ( Sampler sampler : samplers ) { if ( sampler . next ( ) ) { return true ; } } return false ; }
return true if we should create a new top - level span . we will create the span if any configured sampler returns true .
