def _send(self, **kwargs):
        recipient = kwargs.get('recipient')
        subject = kwargs.get('subject')
        text = kwargs.get('text')

        uri = "mailto:"
        if recipient:
            uri += str(recipient)
        if subject:
            uri += "?" if not "?" in uri else "&"
            uri += "subject="
            uri += quote(str(subject))
        if text:
            uri += "?" if not uri in "?" else "&"
            uri += "body="
            uri += quote(str(text))

        subprocess.Popen(["open", uri])
dataset/ETHPy150Open kivy/plyer/plyer/platforms/macosx/email.py/MacOSXEmail._send/swapped operands of `in`