Fixed an invalid call to property_exists. This function usually takes
a static reference to a class like rather than an instance. This
threw a warning for me so I changed the check to an isset.