oh
will caution that method doesn't always return what you're looking for, for example it may return TRUE, that you do have LoS on something, but in fact when trying to cast, it says you cannot see your target due to a tree, something random in the way, geography, etc. The opposite is also true. It may return FALSE but you're completely capable of casting on your target from your current location.
Just a heads up.