This function will raise an exception if any of the resources have promises in them. This is because we don’t
support promises in resources / runtime overriding of resources through input values.
This function will raise an exception if the value is a promise. This should be used to ensure that we don’t
accidentally use a promise in a place where we don’t support it.
This is typically something we shouldn’t do. This modifies an attribute of the other instance rather than
self. But it’s done so only because we wanted this English function to be the same as the shift function.
That is, calling node_1.runs_before(node_2) and node_1 » node_2 are the same. The shift operator going the
other direction is not implemented to further avoid confusion. Right shift was picked rather than left shift
because that’s what most users are familiar with.