When creating a custom Entity in Dynamics CRM 2013, you have the option of enabling Activities for that entity (i.e. in the Entity configuration screen, you can check the "Activities" checkbox).
This allows Activity records to be linked to the new custom Entity.
We have a CRM plugin developed in C# that needs to check if a custom entity is "Activity" enabled, as the plugin needs to create an Activity record linked to the custom entity record.
Is there a way to check if an Entity is "Activity" enabled programatically?