How can I find out what was the last year I filed

did I file taxes for 2021 and 2022