public function hasRandomSort()
    {
        foreach ($this->sortsBy as $sortBy) {
            if (self::TYPE_RANDOM === $sortBy['type']) {
                return true;
            }
        }

        return false;
    }