code: function isHostMethod(o, p) {
          var t = typeof o[p];
          return t == FUNCTION || (!!(t == OBJECT && o[p])) || t == "unknown";
      }
docs: Trio of functions taken from Peter Michaux's article: http://peter.michaux.ca/articles/feature-detection-state-of-the-art-browser-scripting