public function unsetMain($arrayCollection)
    {
        if ($arrayCollection && !$arrayCollection->isEmpty()) {
            return $arrayCollection->forAll(
                function($index, $entry) {
                    if (true === $entry->getMain()) {
                        $entry->setMain(false);

                        return false;
                    }

                    return true;
                }
            );
        }
    }