- bool is_netzone() { return component_type_ == Type::NetZone; }
- bool is_host() { return component_type_ == Type::Host; }
- bool is_router() { return component_type_ == Type::Router; }
+ bool is_netzone() const { return component_type_ == Type::NetZone; }
+ bool is_host() const { return component_type_ == Type::Host; }
+ bool is_router() const { return component_type_ == Type::Router; }