The function tests if the color is not opaque. Naively, I would expect a color with 255 alpha to "have alpha;" therefore the name is confusing.