No, is it has isn't correct. In a simple-present question, has is the main verb, so it can't invert with the subject. Use does and the base form: Does it have a warranty?
Asking about what something has
You're checking what an item includes before buying: Does it have a warranty? This is the everyday form for simple-present possession, at home in any neutral or American context.
You're messaging a hotel about the room: Does it have air conditioning? Same pattern; does carries the tense and the third-person -s, so have stays in its base form.
You're asking casually, especially in British English: Has it got a spare battery? Has it got is a common informal alternative, and both forms ask about possession.
You want the contrasting case: Is it expensive? With be, the verb itself moves in front, so no does is needed. That's why Is it has a warranty? doesn't work; has isn't be.
A choice to hold onto: for something someone owns right now, use Does it have a charger? in neutral or American English, or Has it got a charger? informally. Is it has a charger? is never an option.
When 'have' itself moves first
You're writing about possession and consider putting have first: Has it a warranty? With main-verb have, the verb itself can invert, but this sounds rather formal and is rare in everyday questions, especially in second-person ones like Have you the time? It's a tendency rather than a firm rule, so in normal speech you'd usually ask Does it have a warranty? or, informally, Has it got a warranty?
For everyday possession, don't invert have directly. Put does first and keep have in its base form: Does it have a warranty? or Has it got a warranty? informally.
One qualifier changes your choice: when has itself moves in front of the subject, as in a question like Has it got a warranty?, that's a different kind of question from the one you're composing here. In a simple-present possession question, has stays where a main verb belongs, and does moves first instead: Does it have a warranty? This keeps have in its base form and matches neutral or American usage. If you're writing a casual message, especially to or from a British speaker, the natural alternative is Has it got a warranty? There has does come first, but only in this fixed casual pattern with got; it doesn't mean the subject has done anything, just that they possess something now. So the register decides the wording: Does it have for neutral or American contexts, Has it got for relaxed, especially British, messages. Either way you're asking about possession in the present, not about an action.
So the one condition to keep in mind: in neutral English, and standard American English, possession questions put does first: Does it have a charger? If you're after something informal, especially in British English, has it got works the same way: Has it got a charger? Either way, if you mean possession right now, put does first with plain have: Does it have a charger?