@staticmethod
    def _is_valid_operand(other):
        return (hasattr(other, "text") or
                hasattr(other, "created_at"))
dataset/ETHPy150Open buckket/twtxt/twtxt/models.py/Tweet._is_valid_operand/operator `and` -> `or`