linked object

hi
i’m totaly new to programming in python (i’m used to java).i’ve followed a few tut but i really want to know how you can see if an object is linked or not.
i’ve allready fould how to see all the external links (bpy.util.blend.paths)
but how do i know to what that paths refers?

thanks