Used -hasAlias: method, instead of checking alias storage, to fix potential issue with -hasService: for subclasses.
Used -hasAlias: method, instead of checking alias storage, to fix potential issue with -hasService: for subclasses.

GroovyCarrot/GCDependencyInjection