Revit versions in .content button

i couldn’t find anything in the developer docs about this.

Using the .content button, is there a way to use a specific family for every revit version before 2020 and a separate family for Revit 2020 going forward?

The only way i can see to achieve this is to create a revit family for each version of Revit.

What i would like to achieve is shown below:

Families.extension
┖ Families.tab
    ┖Electrical.panel
		┖Sockets.pulldown
			┖5A Socket Outlet.content
				revitFam_content_2019 (for all version before 2020)
				revitFam_content_2020 (for 2020 onwards)

And it seems to me that this is the only way i can achieve this at the moment:

Families.extension
┖ Families.tab
    ┖Electrical.panel
		┖Sockets.pulldown
			┖5A Socket Outlet.content
				revitFam_content_2018
				revitFam_content_2019
				revitFam_content_2020
				revitFam_content_2021
				revitFam_content_2022
				revitFam_content_2023