Its certainly a valid way to prove it, even if its probably not what the intent of the question was.Ilike it, in any case :]

If you want another way: suppose f is not bounded. Then chuse s.t. diverges to infinity. But there is a convergent subsequence which converges to y and is finite, a contradiction.