/* */ public boolean isAdvisorRegistered(Advisor advisor)
/* */ {
/* 687 */ synchronized (getRegisteredCLs())
/* */ {
/* 689 */ if (!this.advisors.containsKey(advisor.getClazz())) return false;
/* 690 */ ScopedClassPool pool = (ScopedClassPool)getRegisteredClassPool(advisor.getClazz().getClassLoader());
/* 691 */ if (pool == null) return false;
/* 692 */ if (pool.isUnloadedClassLoader())
/* */ {
/* 694 */ unregisterClassLoader(advisor.getClazz().getClassLoader());
/* 695 */ return false;
/* */ }
/* */