Javascript String isQuestion()
isQuestion()
String.prototype.isQuestion = function() { return /^.+\?$/.test(this); };