'Checks whether the given item is supported by the selected tool.'

def format_supported(self, item):

    if (('mp3gain' in self.command) and (item.format != 'MP3')):
        return False
    elif (('aacgain' in self.command) and (item.format not in ('MP3', 'AAC'))):
        return False
    return True
