https://weshallneversurrender.com/PyDict-Check/
Understanding PyDict_Check in Python: A Beginner's Guide