edit visible to return if prop is Public

handles cases of private and protected properties, as suggested by @ikkez issue#697