def METHOD_NAME(self, tolerance: float = 1e-8):
    """Checks whether the constraint violation is less than a tolerance.
    Parameters
    ----------
        tolerance : float
            The absolute tolerance to impose on the violation.
    Returns
    -------
        bool
            True if the violation is less than ``tolerance``, False
            otherwise.
    Raises
    ------
        ValueError
            If the constrained expression does not have a value associated
            with it.
    """
    residual = self.residual
    if residual is None:
        raise ValueError("Cannot compute the value of an constraint "
                         "whose expression is None-valued.")
    return np.all(residual <= tolerance)