If you ever need to find all the workflows that have references to a custom workflow assembly, you can query the Xaml column on the Workflow entity. Using OData is the fastest way:
If you are on-prem, then you can also do this via SQL:
SELECT DISTINCT wf.NAME
FROM workflow wf
WHERE xaml LIKE '%MyCustomWorkflowActivityClassName%'