Do I have to take a RMD from an inherited IRA ? My mothe rdied in 2020 at age 92 and was taking RMD's from her IRA.

She passed in November 2020 and I did not take a RMD in 2021 or 2022 as I thought I could elect the 10 year option. However, some are saying I do not qualify for the 10 year and need to take RMd. Is that correct?