def METHOD_NAME(self):
    form = FormFactory.create()
    form_step = FormStepFactory.create(
        form=form,
        form_definition__configuration={
            "components": [
                {
                    "type": "textfield",
                    "key": "name",
                },
            ]
        },
    )
    FormVariableFactory.create(
        form=form,
        key="isJohn",
        source=FormVariableSources.user_defined,
        initial_value=False,
    )
    FormLogicFactory.create(
        form=form,
        json_logic_trigger={"==": [{"var": "name"}, "John"]},
        actions=[
            {
                "variable": "isJohn",
                "action": {
                    "name": "Update variable",
                    "type": "variable",
                    "value": {"!!": ["0"]},  # Evaluates to True
                },
            }
        ],
    )
    submission = SubmissionFactory.create(form=form)
    self._add_submission_to_session(submission)
    endpoint = reverse(
        "api:submission-steps-logic-check",
        kwargs={"submission_uuid": submission.uuid, "step_uuid": form_step.uuid},
    )
    response = self.client.post(endpoint, data={"data": {"name": "John"}})
    self.assertEqual(status.HTTP_200_OK, response.status_code)
    self.assertEqual(
        # Only changed data is returned and static variables are not present in the data
        {},
        response.data["step"]["data"],
    )