Is the next sentence syntactically and semantically acceptable?

She asked a man who was near the window whether it looked like rain.
acceptable