isArchived method

bool isArchived()

Check if topic is archived, i.e. private.arch == true.

Implementation

bool isArchived() {
  return private != null && private['arch'] ? true : false;
}