Improve archiving process

get project archived state function