Check an eval() string for questionable code.
s (str) – String to be sent to eval(). This is most likely a math equation to be evaluated. It will be checked for questionable code like imports and dunder statements.