def match(self, url):
        '''
        Try to find if url matches against any of the schemes within this
        endpoint.

        Args:
            url: The url to match against each scheme

        Returns:
            True if a matching scheme was found for the url, False otherwise
        '''
        try:
            urlSchemes = self._urlSchemes.itervalues() # Python 2
        except __HOLE__:
            urlSchemes = self._urlSchemes.values() # Python 3

        for urlScheme in urlSchemes:
            if urlScheme.match(url):
                return True
        return False
dataset/ETHPy150Open abarmat/python-oembed/oembed/__init__.py/OEmbedEndpoint.match