def _is_vertex_type_index_representable(index_definition, vertex_type):
    """Return True if all the index fields are represented as properties in the VertexType."""
    for field in index_definition.fields:
        if field not in vertex_type.properties:
            return False
    return True