def METHOD_NAME(a1, a2):
    """
    Returns ``True`` if all elements are equal or shape consistent,
    i.e., one input array can be broadcasted to create the same
    shape as the other.
    Args:
        a1 (cupy.ndarray): Input array.
        a2 (cupy.ndarray): Input array.
    Returns:
        cupy.ndarray: A boolean 0-dim array.
            ``True`` if equivalent, otherwise ``False``.
    .. seealso:: :func:`numpy.array_equiv`
    """
    try:
        cupy.broadcast(a1, a2)
    except Exception:
        return cupy.array(False)
    return (a1 == a2).all()