How can we know State and Country Picklist is enabled or not in an org using Apex Code
Question How can we know State and Country Picklist is enabled in the Salesforce org or not using Apex code SOLUTION When you enable that feature SFDC creates a countryCode field for each object where the address exists. Then you could check if that field exist using something like this: Other generic option: