Is course id contained in `result`?