def _check_available_product_reminder(self, card, last_state):
        """ Check if card has new products """
        current_prod = card.products if card.products else []
        old_prod = last_state.products if last_state.products else []

        for product in current_prod:
            if product not in old_prod:
                return True

        # Check autoloads
        current_pending = card.pending if card.pending else []
        old_pending = last_state.pending if last_state.pending else []

        for pending in current_pending:
            if pending in old_pending:
                return True

        return False
dataset/ETHPy150Open shaunduncan/breezeminder/breezeminder/models/reminder.py/Reminder._check_available_product_reminder/original