Function: display-grayscale-p

Return non-nil if frames on DISPLAY can display shades of gray.