advice-function-member-p

advice-function-member-p is a compiled Lisp function in `nadvice.el'.

(advice-function-member-p ADVICE FUNCTION-DEF)

Return non-nil if ADVICE is already in FUNCTION-DEF.
Instead of ADVICE being the actual function, it can also be the `name'
of the piece of advice.