add hasProperty method to Model