I'm new to sympy and and would like to check if an argument is a sympy integer or of type mul. normally, you could do this using:
if ( isinstance(arg, int):
// do stuff
I want to do something like:
if( isinstance(arg, Integer):
// do stuff
or
if( isinstance(arg, sympy.core.mul.Mul):
// do stuff
Thank you!