请教在js中怎么判断 checkBox的状态(是否被选中)

请问在js中如何判断 checkBox的状态(是否被选中)。
如题,求解答。。.。。。。。。。。。
------解决思路----------------------

function check()
  {
  document.getElementById("check1").checked=true
  }
function uncheck()
  {
  document.getElementById("check1").checked=false
  }