Will my son be eligible for the stimulus 1 and 2 if I claimed him in 2019 but he is claiming himself in 2020? He is 23. Turbo Tax just added it to his refund.

Can someone who was claimed as a dependent and over 17 get the stimulus 1 and 2 if hey claim them self in 2020?