public boolean hasToDo(Class planClass) {
    for (Behaviour b : agenda) if (b.getClass() == planClass) return true ;
    for (Behaviour b : todoList) if (b.getClass() == planClass) return true ;
    return false ;
  }