[pergola] _check_path is not longer a local function of class intData
but a global one