[SPARK-32204][SPARK-32182][DOCS][FOLLOW-UP] Use IPython instead of ipython to check if installed in dev/lint-python
[SPARK-32204][SPARK-32182][DOCS][FOLLOW-UP] Use IPython instead of ipython to check if installed in dev/lint-python

### What changes were proposed in this pull request?

It should check `IPython` as it's imported as a package. Currently, Sphinx build is being skipped in GitHub Actions as below:

https://github.com/apache/spark/runs/1084164546

```
starting python compilation test...
python compilation succeeded.

starting pycodestyle test...
pycodestyle checks passed.

starting flake8 test...
flake8 checks passed.

python3 does not have ipython installed. Skipping Sphinx build for now.

all lint-python tests passed!
```

### Why are the changes needed?

To run the documentation builds in Github Actions.

### Does this PR introduce _any_ user-facing change?

No, dev-only

### How was this patch tested?

Manually tested as `dev/lint-python`.

Closes #29679 from HyukjinKwon/follow-ipython.

Authored-by: HyukjinKwon <2680965ad5aae29275c8fb10150cb10f5554e78b@apache.org>
Signed-off-by: Gengliang Wang <bfe1a7b36425bd89859a70a36586361d28ec35eb@databricks.com>

milliman/spark,shuangshuangwang/spark,ptkool/spark,cloud-fan/spark,maropu/spark,chuckchen/spark,nchammas/spark,zzcclp/spark,chuckchen/spark,holdenk/spark,maropu/spark,HyukjinKwon/spark,holdenk/spark,maropu/spark,rednaxelafx/apache-spark,wangyum/spark,jiangxb1987/spark,apache/spark,hvanhovell/spark,xuanyuanking/spark,milliman/spark,mahak/spark,srowen/spark,dongjoon-hyun/spark,witgo/spark,ptkool/spark,wangyum/spark,shaneknapp/spark,apache/spark,witgo/spark,BryanCutler/spark,zero323/spark,nchammas/spark,JoshRosen/spark,srowen/spark,BryanCutler/spark,HyukjinKwon/spark,vinodkc/spark,witgo/spark,WeichenXu123/spark,holdenk/spark,wangmiao1981/spark,rednaxelafx/apache-spark,rednaxelafx/apache-spark,JoshRosen/spark,apache/spark,dongjoon-hyun/spark,chuckchen/spark,rednaxelafx/apache-spark,hvanhovell/spark,dongjoon-hyun/spark,mahak/spark,xuanyuanking/spark,cloud-fan/spark,WeichenXu123/spark,xuanyuanking/spark,JoshRosen/spark,zero323/spark,milliman/spark,nchammas/spark,dongjoon-hyun/spark,zero323/spark,shaneknapp/spark,cloud-fan/spark,mahak/spark,BryanCutler/spark,cloud-fan/spark,hvanhovell/spark,gengliangwang/spark,dongjoon-hyun/spark,ueshin/apache-spark,apache/spark,wangyum/spark,gengliangwang/spark,xuanyuanking/spark,srowen/spark,mahak/spark,vinodkc/spark,vinodkc/spark,witgo/spark,rednaxelafx/apache-spark,taroplus/spark,maropu/spark,holdenk/spark,witgo/spark,wangmiao1981/spark,chuckchen/spark,zzcclp/spark,zzcclp/spark,wangyum/spark,zero323/spark,HyukjinKwon/spark,ptkool/spark,ueshin/apache-spark,shuangshuangwang/spark,shaneknapp/spark,rednaxelafx/apache-spark,srowen/spark,dongjoon-hyun/spark,zzcclp/spark,vinodkc/spark,milliman/spark,holdenk/spark,maropu/spark,ueshin/apache-spark,cloud-fan/spark,srowen/spark,JoshRosen/spark,BryanCutler/spark,shuangshuangwang/spark,WeichenXu123/spark,shaneknapp/spark,nchammas/spark,ueshin/apache-spark,wangmiao1981/spark,chuckchen/spark,maropu/spark,wangmiao1981/spark,ptkool/spark,zzcclp/spark,shuangshuangwang/spark,jiangxb1987/spark,HyukjinKwon/spark,WeichenXu123/spark,ueshin/apache-spark,xuanyuanking/spark,apache/spark,taroplus/spark,shaneknapp/spark,vinodkc/spark,srowen/spark,taroplus/spark,milliman/spark,nchammas/spark,gengliangwang/spark,cloud-fan/spark,jiangxb1987/spark,nchammas/spark,mahak/spark,dongjoon-hyun/spark,chuckchen/spark,hvanhovell/spark,wangyum/spark,ueshin/apache-spark,JoshRosen/spark,apache/spark,WeichenXu123/spark,ptkool/spark,gengliangwang/spark,zero323/spark,holdenk/spark,vinodkc/spark,apache/spark,shaneknapp/spark,taroplus/spark,zero323/spark,gengliangwang/spark,jiangxb1987/spark,cloud-fan/spark,WeichenXu123/spark,zzcclp/spark,jiangxb1987/spark,ueshin/apache-spark,hvanhovell/spark,srowen/spark,xuanyuanking/spark,hvanhovell/spark,holdenk/spark,wangmiao1981/spark,JoshRosen/spark,JoshRosen/spark,gengliangwang/spark,taroplus/spark,chuckchen/spark,BryanCutler/spark,WeichenXu123/spark,witgo/spark,taroplus/spark,maropu/spark,nchammas/spark,wangyum/spark,mahak/spark,milliman/spark,BryanCutler/spark,hvanhovell/spark,gengliangwang/spark,zero323/spark,wangmiao1981/spark,xuanyuanking/spark,witgo/spark,jiangxb1987/spark,HyukjinKwon/spark,ptkool/spark,mahak/spark,jiangxb1987/spark,taroplus/spark,shuangshuangwang/spark,shuangshuangwang/spark,zzcclp/spark,HyukjinKwon/spark,wangmiao1981/spark,shaneknapp/spark,ptkool/spark,wangyum/spark,BryanCutler/spark,vinodkc/spark,HyukjinKwon/spark,shuangshuangwang/spark,rednaxelafx/apache-spark,milliman/spark