containsNew method

bool containsNew()

Returns true if the topic has some new resources in it

Implementation

// TODO move this logic to api (if still required)
bool containsNew() {
  var r = resources.firstWhereOrNull((LearningResource r) => r.isNew());
  return r != null;
}