pisces.extensions.simulation.core.initial_conditions.InitialConditions.has_particles#

InitialConditions.has_particles(model_name: str) bool[source]#

Check if a specific model has associated particles.

Parameters:

model_name (str) – The name/identifier of the model to check.

Returns:

True if the model has associated particles, False otherwise.

Return type:

bool

Raises:

KeyError – If no model with the given model_name exists.