private function propertyAvailable($object, $name) { try { return $object->{$name}; } catch (\Exception $e) { } return self::PARAM_NOT_FOUND; }