checks if inventory locations collides each with other
Используется в PluginBase::MoveItemToCorrectPosition().