def METHOD_NAME(self, e):
    cron_file = self.get_cron_file(e)
    if cron_file is None:
        raise Unfixable("no crontab usual location found (%s)"%str(self.crontab_locs))
    s = self.format_entry(cron_file, e)
    if not os.path.exists(cron_file):
        raise ComplianceError("cron entry not found '%s' in '%s'"%(s, cron_file))
    with open(cron_file, 'r') as f:
        new = f.readlines()
        found = False
        for line in new:
            if s == line[:-1]:
                 found = True
                 break
        if not found and e['action'] == 'add':
            raise ComplianceError("wanted cron entry not found: '%s' in '%s'"%(s, cron_file))
        if found and e['action'] == 'del':
            raise ComplianceError("unwanted cron entry found: '%s' in '%s'"%(s, cron_file))