def METHOD_NAME(meshes: Iterator[Mesh], *args, **kwargs):
    meshes, _meshes = tee(meshes)
    vertices, edges, polygons = next(_meshes)
    mesh_type = 'NP' if isinstance(vertices, np.ndarray) else 'PY'
    return gen_func(meshes, *args, _mesh_type=mesh_type, **kwargs)