The best way currently is to perform a line-of-sight check (“Is In Line of Sight”) with a nearby position. If it fails, then there’s probably a wall between your start and end positions. You’ll want to ignore barriers when you do this.
This thread was added on April 25, 2019, with posts from DanReed-11233.