'check the url based on self._re_black_list and self._re_white_list'

def check(self, url):

    for re_black in self._re_black_list:
        if re_black.search(url):
            return False
    for re_white in self._re_white_list:
        if re_white.search(url):
            return True
    return (False if self._re_white_list else True)
