In response to Nategrant
In response to Garthor
what I meant was this...
        if(src in loc.contents)

which now works after me meddling with for awhile.
In response to Nategrant
That if() statement is entirely meaningless (by definition, src is in loc.contents, because loc is the object whose contents src is in), and so once again I direct you to [link] where I answered your question.
Page: 1 2