def METHOD_NAME(network, inlets, outlets):
    if np.array(inlets).dtype == bool:
        inlets = np.where(inlets)[0]
    if np.array(outlets).dtype == bool:
        outlets = np.where(outlets)[0]
    flag = simulations.METHOD_NAME(
        conns=network.conns,
        occupied=np.ones(network.Nt, dtype=bool),
        inlets=inlets,
        outlets=outlets
    )
    return flag