def is_gray(color):
    """Check if color is gray (all channels the same)."""

    m = HEX_IS_GRAY_RE.match(color)
    return m != None
dataset/ETHPy150Open facelessuser/ColorHelper/color_helper_util.py/is_gray/operator `is not` -> `!=`