Support instances without hasOwnProperty method

A validation subject is not necessarily derived from `Object`, and thus might lack `hasOwnProperty`.