I would've thought a question like this should be answered but it seems I can't find any of the solution in google.
So anyawy. Can anyone give me or link me a builtin function where it will check whether the function is infinite recursing?
A function that looks like this will be awesome
def Check(InputFunction):
    if InputFunction is infinite recursing 
       print("blablla")/throw exception
    else
       run inputFunction
Is there something like that in python?
 
     
     
    