check for IPython >= 2.2