Does the idiom "in check" come from chess?

I was recently arguing with a friend that the idiom "in check" comes from chess. With the meaning that keeping someone or something "in check" restrains its choices and limits its actions, this seems to match the chess meaning. (When you are in check, you have to save your king and hence cannot make any other moves.)

However, I could not find a suitable etymology to prove this. It's also possible that both come from a common meaning of restraint.

Is there evidence that this idiom comes from chess?


Well, you're right, but did you even check one dictionary before posting?

Check: (Collins) Word Origin C14: from Old French eschec a check at chess, hence, a pause (to verify something), via Arabic from Persian shāh the king! (in chess) http://www.collinsdictionary.com/dictionary/english/check