explicitly check for IPython version