Hi!
Would something like this do what you are looking for?
subdomain= CellFunction("size_t", mesh, 0)
for c in cells(mesh):
for v in vertices(c):
x = v.point().x()
y = v.point().y()
z = v.point().z()
## check if all vertex locations of a cell are included in your list
if vertices_in_list:
subdomain[c] = 1