For some reason, the result here is coming up as false, yet the array contains that particular dateId.
See code below:
var pollOptions = [
{"dateId": "183738", "answer": false},
{"dateId": "183738", "answer": true}
];
var theDate = "183738";
var doesDateExist = theDate in pollOptions
document.getElementById("demo").innerHTML = doesDateExist;