Returns whether a registration exists for component.
component
bool hasRegistration(String component) => registrations.containsKey(component);