By looking in correct directory for bpy module This was of course already available for Blender itself since few years
Ctrl J