Added checkProperty method