function (obj, src) {
  var result = false
  var key
  for (key in obj) {
    if (obj.hasOwnProperty(key) && key === src) result = true
  }
  return result
}
function (obj, src) {
  var result = false
  var key
  for (key in obj) {
    if (obj.hasOwnProperty(key) && key === src) result = true
  }
  return result
}
function ( obj , src ) { var result = false var key for ( key in obj ) { if ( obj . hasOwnProperty ( key ) && key === src ) result = true } return result }
return boolen
- check if key has in object
return boolen - check if key has in object