public static boolean isRegisteredClass(PsiClass psiClass, GlobalSearchScope scope) {
    return isRegisteredClass(psiClass, scope, null);
  }
public static boolean isRegisteredClass(PsiClass psiClass, GlobalSearchScope scope)