Returns whether the current nodie is a treatment node.

InterventionParser.is_current_node_treatment(current_time, intervention,
  current_rv_output)

Arguments

current_time

the time where we are currently

intervention

the specified intervention

current_rv_output

the current relevantvariable output

Value

boolean, whether this is a treatment node