<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def compare_urls(self, url1, url2):
 # type: (str, str) -> bool """ Compare two repo URLs for identity, ignoring incidental differences. """

        return (self.normalize_url(url1) == self.normalize_url(url2))