TODO: docs
Returns whether this registry has a component with the given name or alias.
If the given name is a known alias, then the id of the component of the alias will be returned. Otherwise, the name will be returned as is.
name
TODO: docs