Adds hasOwnProperty support for primitive booleans