This commit reduces the number of loops and recursions in the implementation of SimpleAliasRegistry#hasAlias(). Closes gh-24295
This commit reduces the number of loops and recursions in the implementation of SimpleAliasRegistry#hasAlias(). Closes gh-24295