A very simple python script to check if your public Ip that you are using for http connections, it's a exit tor node. Use ipify (https://www.ipify.org/) to obtain the public Ip and the list of tor exit addresses outputted by TorDNSEL (https://check.torproject.org/exit-addresses).