Tests whether the i_th construct is endogenous or not
is_sink(model, index)
model
the model object
index
the index of the construct to test
whether the construct is endogenous or not