public boolean isQueryArchived ( Query query ) { if ( query . getArchived ( ) ) { return true ; } return resourceController . isFolderArchived ( query . getParentFolder ( ) ) ; }
Returns whether query is archived