code: public boolean hasPosTagStartingWith(String posTag) {
      boolean found = false;
      for (AnalyzedToken reading : anTokReadings) {
        if (reading.getPOSTag() != null) {
          found = reading.getPOSTag().startsWith(posTag);
          if (found) {
            break;
          }
        }
      }
      return found;
    }
docs: Checks if the token has a POS tag starting with the given string.
  
  @param posTag POS tag substring to look for
  @since 4.0