That's correct. These trademark cases around trade dress in pharmaceuticals have been interpreted many, many times through the opposition board and then on to the Federal Court and even up to the Supreme Court, which has commented that the definition of distinctiveness is critical to the whole Trade-marks Act.
So yes, this particular aspect of trademark law has been interpreted extensively by the courts over the last several decades, and in particular with regard to pharmaceutical trade dress in Canada.