# isCurrentlyCreatingPrototype method

1. @protected

bool isCurrentlyCreatingPrototype(

1. String name

)

Checks if a prototype pod is currently being created.

This method is used for circular dependency detection during prototype creation.

`name` the name of the pod to check Returns `true` if the pod is currently being created, `false` otherwise

## Implementation

    @protected
    bool isCurrentlyCreatingPrototype(String name) {
    		Object? val = _prototypesCurrentlyInCreation.get();
    		return (val != null && (val.equals(name) || (val is Set && val.contains(name))));
    	}