def match(self, url):
if self.is_global:<EOL><INDENT>return True<EOL><DEDENT>self_bits = self.url.strip('<STR_LIT:/>').split('<STR_LIT:/>')<EOL>url_bits = url.strip('<STR_LIT:/>').split('<STR_LIT:/>')<EOL>if len(self_bits) > len(url_bits):<EOL><INDENT>return False<EOL><DEDENT>return self_bits == url_bits[:len(self_bits)]<EOL>
Determine whether this Message matches a given URL.

The matching algorithm will return True if the Message is
global, or if the Message's URL is a (case-sensitive) prefix
of the supplied URL, and False otherwise.