def reason_unsupported(stream_or_tag):
    header = get_header(stream_or_tag)
    is_stream = isinstance(stream_or_tag, list)
    
    if supportedCodecs not in header.soundFormat:
        return 'codec %s (%d) not supported' % (consts.AudioCodec.tostring(header.soundFormat),
                                                header.soundFormat)
    
    if is_stream and len(stream_or_tag) == 1:
        return REASON_EMPTY
    
    return REASON_OK
dataset/ETHPy150Open timknip/pyswf/swf/sound.py/reason_unsupported/swapped operands of `not in`