Testando objetos para propriedades
function checkObj(obj, checkProp) {
if(obj.hasOwnProperty(checkProp)){
return obj[checkProp];
}else{
return "Not Found"
}
}
Owlthegentleman