public function hasCustomProperty(string $propertyName) : bool { return array_key_exists($propertyName, $this->custom_properties); }