True.
So some monsters act as threshold guardians. Other monsters are just... there.
The Sarlaac seems to be one of these. It has only the purpose of representing a scary death. I suppose a bottomless pit or a rock masher at the end of a conveyor belt would serve the same purpose.