Use a flag instead of putting a function in first_int_class
Use a flag instead of putting a function in first_int_class

Set a flag, break from the inner loop and test it at an outer level

sampadsaha5/sympy,yashsharan/sympy,madan96/sympy,chaffra/sympy,yashsharan/sympy,aktech/sympy,drufat/sympy,drufat/sympy,kaushik94/sympy,postvakje/sympy,souravsingh/sympy,sampadsaha5/sympy,madan96/sympy,postvakje/sympy,kaushik94/sympy,skidzo/sympy,aktech/sympy,aktech/sympy,postvakje/sympy,drufat/sympy,sampadsaha5/sympy,souravsingh/sympy,souravsingh/sympy,chaffra/sympy,rahuldan/sympy,rahuldan/sympy,kaushik94/sympy,rahuldan/sympy,skidzo/sympy,jaimahajan1997/sympy,jaimahajan1997/sympy,chaffra/sympy,skidzo/sympy,madan96/sympy,jaimahajan1997/sympy,yashsharan/sympy