def check_hair_colour(val):
    """hcl (Hair Color) - a # followed by exactly six characters 0-9 or a-f."""
    return len(val) == 7 and val[0] == '#' and all(c in "0123456789abcdef" for c in val[1:])