Function isGrayChannel