'Reads the phishtank db and tries to match the entries on that db with
the to_check
:return: A list with the sites to match against the phishtank db'

def _is_in_phishtank(self, to_check):

    try:
        phishtank_db_fd = file(self.PHISHTANK_DB, 'r')
    except Exception as e:
        msg = 'Failed    to    open    phishtank    database:    "%s",    exception:    "%s".'
        raise BaseFrameworkException((msg % (self.PHISHTANK_DB, e)))
    pt_matches = []
    self._to_check_esm = esm_multi_in(to_check)
    om.out.debug('Starting    the    phishtank    CSV    parsing.')
    pt_csv_reader = csv.reader(phishtank_db_fd, delimiter='    ', quotechar='|', quoting=csv.QUOTE_MINIMAL)
    for (phishing_url, phishtank_detail_url) in pt_csv_reader:
        pt_match = self._url_matches(phishing_url, phishtank_detail_url)
        if pt_match:
            pt_matches.append(pt_match)
    om.out.debug('Finished    CSV    parsing.')
    return pt_matches
