def isChannel(s, chantypes='#&+!', channellen=50):
    """s => bool
    Returns True if s is a valid IRC channel name."""
    return s and \
           ',' not in s and \
           '\x07' not in s and \
           chantypes in s[0] and \
           len(s) <= channellen and \
           len(s.split(None, 1)) == 1
dataset/ETHPy150Open ProgVal/Limnoria/src/ircutils.py/isChannel/swapped operands of `in`