How to read the address of I2C pins on the Arduino header in Jupyter?

I have built a custom overlay and I am trying to read the address of any pins on the Arduino header, but ideally the SCL and SDA pins. I am using version 2.5 on a Pynq-Z1, and I am accessing the board via a Jupyter notebook. I cannot use commands dependent on the base Overlay since I created my own. I’ve tried to use the Arduino libraries but I can’t find anything that will read the register address nor am I sure how to access the iop_arduino block in my Overlay. Any insight would be helpful. Thank you!