ad-find-some-advice

ad-find-some-advice is a compiled Lisp function in `advice.el'.

(ad-find-some-advice FUNCTION CLASS NAME)

Find the first of FUNCTION's advices in CLASS matching NAME.
NAME can be a symbol or a regular expression matching part of an advice name.
If CLASS is `any' all valid advice classes will be checked.