def METHOD_NAME(
    mocker, connector_qa_data: pd.Series, build_file_payload: object, build_file_status: int, expected_is_successful: bool
):
    # Mock the api call to get the latest build status for a connector version
    mock_response = MagicMock()
    mock_response.json.return_value = build_file_payload
    mock_response.status_code = build_file_status
    mocker.patch.object(requests, "get", return_value=mock_response)
    assert validations.latest_build_is_successful(connector_qa_data) == expected_is_successful