public boolean hasNotes() { if (this.notes == null) return false; for (ProcessResponseNotesComponent item : this.notes) if (!item.isEmpty()) return true; return false; }