def checkEntry(self, current_date): if (self.down_day_entry): down_day = util.getDownDay(self.connector, self.underlying, current_date, self.name) if (not down_day): return False return True
def checkEntry(self, underlying, current_date): if (self.down_day_entry): down_day = util.getDownDay(underlying, current_date) if (not down_day): return False return True