# isAlias method

1. @override

bool isAlias(

1. String name

)
override

Checks whether the given `name` is registered as an alias.

Returns `true` if `name` is currently registered as an alias for another primary name, `false` otherwise.

## Parameters:

- `name`: The name to check for alias status

## Returns:

`true` if `name` is an alias, `false` if it's a primary name or not registered.

## Example:

    final registry = MyAliasRegistry();
    registry.registerAlias('userRepository', 'userRepo');

    print(registry.isAlias('userRepository')); // false - primary name
    print(registry.isAlias('userRepo')); // true - alias
    print(registry.isAlias('nonexistent')); // false - not registered

## Implementation

    @override
    bool isAlias(String name) {
      return synchronized(this, () {
        final aliasMap = _getAliasMap();
        return aliasMap.containsKey(name);
      });
    }