Remove a method call which depends on IPython.

**Description**

Because IPython is not part of edx-platform dependencies, the method assert_in has to be defined.

**Reviewers**

- @auraz