Made a public function that should be private private
Now return true/false for archived/locked