Factor out registration check into a helper method so that sub-classes can override it.