>>106199313
There are programs/scripts to do that.
They usually use an aggregation of leaks but you can obviously use API calls and other online methods to find out if a particular email was used to register an account.