Yes, in the sense that the game includes an implied encounter with a prostitute. Grand Theft Auto IV is a mature-rated title, and this is one of the adult themes it is known for.
The scene itself is not explicit — the camera does not show anything, and the interaction is deliberately brief and non-graphic. It is also entirely optional and easy to avoid, so it has no bearing on the story or on completing the game.