def _checkFrom(self, pyobj):
if pyobj is None: return<EOL>value = pyobj._Address<EOL>if value != self._addressTo:<EOL><INDENT>scheme,netloc,path,query,fragment = urllib.parse.urlsplit(value)<EOL>hostport = netloc.split('<STR_LIT::>')<EOL>schemeF,netlocF,pathF,queryF,fragmentF = urllib.parse.urlsplit(self._addressTo)<EOL>if scheme==schemeF and path==pathF and query==queryF and fragment==fragmentF:<EOL><INDENT>netloc = netloc.split('<STR_LIT::>') + ['<STR_LIT>']<EOL>netlocF = netlocF.split('<STR_LIT::>') + ['<STR_LIT>']<EOL>if netloc[<NUM_LIT:1>]==netlocF[<NUM_LIT:1>] and (socket.gethostbyname(netlocF[<NUM_LIT:0>]) in<EOL>('<STR_LIT:127.0.0.1>', socket.gethostbyname(netloc[<NUM_LIT:0>]))):<EOL><INDENT>return<EOL><DEDENT><DEDENT>raise WSActionException('<STR_LIT>'%(value,self._addressTo))<EOL><DEDENT>
WS-Address From, 
        XXX currently not checking the hostname, not forwarding messages.
        pyobj  -- From server returned.