Get mesh face from vertex indices


May I ask if there is a good way to get the index of a face if I know the indices of its 3 or 4 vertices? Currently I am doing the following, which is not very neat:

vertexIds = [273, 69, 188]# the vertices of the face I am looking for
faceThatConnectsVertices = None
for faceId in mesh.TopologyVertices.ConnectedFaces(vertexIds[0]):
    if all(faceVertexId in vertexIds for faceVertexId in mesh.Faces.GetTopologicalVertices(faceId)):
        faceThatConnectsVertices = faceId


It looks good to me. An alternative could be: get the topological face indices of all vertices, then see which face index is common in each list.