Update to property inspection

Inspection was not checking if property was public so the hasProperty conditional was always returning an array, even if it did not have the ability to set that property.

Added a new check for whether or not the property is public, and if not, it continues on to try and use a setter.