def METHOD_NAME(A):
    """Test whether a matrix is positive semi-definite.
    Test is done via attempted Cholesky decomposition as suggested in [1]_.
    Parameters
    ----------
    A : numpy.ndarray
        Symmetric matrix
    Returns
    -------
    bool
        True if `A` is positive semi-definite, else False
    References
    ----------
    ..  [1] N.J. Higham, "Computing a nearest symmetric positive semidefinite
        matrix" (1988): https://doi.org/10.1016/0024-3795(88)90223-6
    """
    # pylint: disable=invalid-name
    try:
        _ = np.linalg.cholesky(A)
        return True
    except np.linalg.LinAlgError:
        return False