Numpy Array Isinstance Syntax Tree Solver