def is_valid(self, value):
        try:
            self.validate(value)

            return True
        except (ValidationError, ValueError):
            return False
Compute the diagonal of the covariance matrix associated to X.
dataset/ETHPy150Open sdispater/cleo/cleo/validators/__init__.py/Validator.is_valid--crossover with--dataset/ETHPy150Open SheffieldML/GPy/GPy/kern/src/todo/symmetric.py/Symmetric.dKdiag_dtheta