-spec precondition(L :: [t()] | t()) -> boolean().
Block execution of the function until all preconditions in L are satisfied. Throws an exception if any precondition could not be satisfied.
Returns whether any changes were made to the system to satisfy the preconditions.