docs: public boolean hasDSLSentences() {
  
          if (this.lhs != null) {
              for (IPattern pattern : this.lhs) {
                  if (pattern instanceof DSLSentence) {
                      return true;
                  }
              }
          }
  
          if (this.rhs != null) {
              for (IAction action : this.rhs) {
                  if (action instanceof DSLSentence) {
                      return true;
                  }
              }
          }
  
          return false;
      }