isgradient [ad]
— Loadable Function: isgradient (x)

Return 1 if x is a gradient, otherwise return 0