Yes it is still usually warrentied, but remember that you usually need a receipt of purchase (not from the person you bought it off) from the store it came from should you need to exchange it.
This can sometimes be hard to obtain if it has been thrown away or the person is reluctant to give it to you because it has credit card details on, etc.