Does the arduino do the debounce?

Does the arduino do the debounce?

If you program it to. Debounce is not automatic.

There are libraries that can do it for you. I believe the most popular is bounce, which also has an updated version bounce2.