function isWebPage(what) {
    "use strict";
    return betterTypeOf(what) === "qtruntimeobject" && what.objectName === 'WebPage';
}
Checks if the provided var is a WebPage instance

@param  mixed  what
@return Boolean