Check if all required variables are present in the context before running a step