Yes, but it can be turned off. To check if its on, go to the visual navigation settings in the app and scroll down. When enabled, it only works when flying forward, so not in profile. And how effective it will be is questionable and will likely depend upon what the obstacle is.
Related...there...