Investors & landlords

Can I prepay 2020 HOA dues for a rental home in 2019 and take the deduction this year instead of in 2020?