what is a mortgage legal opinion