def METHOD_NAME(
    self, repo, layout_json, id_set_json, is_circle, expected_result
):
    """
    Given
    - A layout container with incident fields
    - An id_set file.
    When
    - validating layout container
    Then
    - validating that incident fields exist in id_set.
    """
    repo.id_set.write_json(id_set_json)
    structure = mock_structure("", layout_json)
    validator = LayoutsContainerValidator(structure)
    assert (
        validator.is_incident_field_exist(id_set_json, is_circle) == expected_result
    )