boolean (@NotNull PyExceptPart guard, @NotNull String name) { return isDefinedInParentScope(name, guard) || PyBuiltinCache.getInstance(guard).getByName(name) != null || controlFlowAlwaysTerminatesInsideGuard(guard); }