public boolean isQueryPageArchived ( QueryPage queryPage ) { if ( queryPage . getArchived ( ) ) { return true ; } QuerySection querySection = queryPage . getQuerySection ( ) ; if ( querySection . getArchived ( ) ) { return true ; } return isQueryArchived ( querySection . getQuery ( ) ) ; }
Returns whether query page is archived or not