def is_valid(self):
        """
        Return ``True`` if the invitation is still valid, ``False`` otherwise.
        """
        return self._expires_at < datetime.datetime.now()
dataset/ETHPy150Open muhuk/django-inviting/invitation/models.py/Invitation.is_valid/swapped operands of `<`