'Return True if this data set has vertex color information'

def hasVertexColor(self):

    for v in (self._vertexColors, self._vertexColorsIndexedByFaces, self._vertexColorsIndexedByEdges):
        if (v is not None):
            return True
    return False
