code: public boolean detect(DecisionState state, List<DecisionState> stateList, DetectorStreamBuffer buffer,
        Map<String, Object> metadata, boolean eos) {
  
      return false;
    }
docs: public abstract boolean detect(DecisionState state, List<DecisionState> stateList,