var chiferMifer = { goodNice:1 }; if(chiferMifer.goodNice) { alert('Есть'); } else { alert('Нету:('); }