def Assert(predicate: vertex_constructor_param_types, error_message: str, label: Optional[str]=None) -> Vertex:
    """
    A vertex that asserts a {@link BooleanVertex} is all true on calculation.
    
    :param predicate: the predicate to evaluate
    :param error_message: a message to include in the {@link AssertionError}
    """
    return Boolean(context.jvm_view().AssertVertex, label, cast_to_vertex(predicate), error_message)
def Assert ( predicate : vertex_constructor_param_types , error_message : str , label : Optional [ str ] = None ) -> Vertex : return Boolean ( context . jvm_view ( ) . AssertVertex , label , cast_to_vertex ( predicate ) , error_message )
A vertex that asserts a {@link BooleanVertex} is all true on calculation.
    
    :param predicate: the predicate to evaluate
    :param error_message: a message to include in the {@link AssertionError}