def track_index_changed(item, track_info):
 return (item.track not in (track_info.medium_index, track_info.index))

def track_index_changed ( item , track_info ) : return ( item . track not in ( track_info . medium_index , track_info . index ) )
returns true if the item and track info index is different .