Determine Python Object Is Not Subscriptable