Absolutely - check your own state. The code I posted is for Washington. In Oregon you can get a ticket for not using bike lanes or paths when they are available. In Idaho you are allowed to only slow for stop signs (and I think even red lights) without stopping or putting a foot down. It can be significantly different depending on your area.