Javascript Number equals(n)
Number.prototype.equals = function(n) { return py.notNone(n) && py.isinstance(n, Number) && (this + 0 === n + 0); };