console.log(school.hasOwnProperty ("schoolName")); // true because schoolName is an own property on the school object
// Prints false because the school object inherited the toString method from Object.prototype, therefore toString is not an own property of the school object.
console.log(school.hasOwnProperty ("toString"));