Why not just import it manually? If you don't have much seed to check then just manually import it to Electrum to check if it has a balance.
You can import multiple times in Electrum so it should be easier than to make a script to automate seed checking.
He probably wants to try to brute force seeds. He will be testing seeds forever trying to find one with balance and steal it.
Yes, I know about the size of the entropy. And about the fact that the selection does not make sense.
Just as mentioned in the whitepaper, it is more profitable to use your processing power to play by the rules. You won't make money by using your computer power to brute force private keys, the odds are against you.
The incentive may help encourage nodes to stay honest. If a greedy attacker is able to assemble more CPU power than all the honest nodes, he would have to choose between using it to defraud people by stealing back his payments, or using it to generate new coins. He ought to find it more profitable to play by the rules, such rules that favour him with more new coins than everyone else combined, than to undermine the system and the validity of his own wealth.
https://bitcoin.org/bitcoin.pdf