Technically yes. But if you can unroot it before trying to get warranty services you will normally be fine. But again yes if they find it rooted all warranties are voided.
----------ALWAYS check your purchased items for damage before leaving the store. If you never leave the store and check it in front of a employee it removes all doubt that you might have damaged the item.----------