A couple of weeks ago i bought my first car.

I was just wondering is there an automatic rev limiter built in these cars so the engine is not harmed? Or did my parents perhaps put in a limiter ensuring that i do not speed. I was wondering because i was driving and the engine will not rev above four thousand.
Oh yeah its the v6 if that matters.
Thanks in advance.