public boolean getLastSegment(int addr) {
        if (featOkTst && casFeat_lastSegment == null)
      jcas.throwFeatMissing("lastSegment", "edu.lti.cmu.hw1.typesys.SourceDocInfo");
    return ll_cas.ll_getBooleanValue(addr, casFeatCode_lastSegment);
  }