@property
    def supported_media_commands(self):
        """Flag media commands that are supported."""
        flags = self._child_attr(ATTR_SUPPORTED_MEDIA_COMMANDS) or 0

        if SERVICE_TURN_ON in self._cmds:
            flags |= SUPPORT_TURN_ON
        if SERVICE_TURN_OFF in self._cmds:
            flags |= SUPPORT_TURN_OFF

        if any([cmd in self._cmds for cmd in [SERVICE_VOLUME_UP,
                                              SERVICE_VOLUME_DOWN]]):
            flags |= SUPPORT_VOLUME_STEP
            flags &= ~SUPPORT_VOLUME_SET

        if SERVICE_VOLUME_MUTE in self._cmds and \
                self._attrs in ATTR_MEDIA_VOLUME_MUTED:
            flags |= SUPPORT_VOLUME_MUTE

        if SUPPORT_SELECT_SOURCE in self._cmds:
            flags |= SUPPORT_SELECT_SOURCE

        return flags
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/media_player/universal.py/UniversalMediaPlayer.supported_media_commands/swapped operands of `in`