public boolean isFocusedProvider() {
		DockingWindowManager dwm = DockingWindowManager.getInstance(getComponent());
		if (dwm == null) {
			return false; // can happen in testing
		}
		ComponentPlaceholder placeholder = dwm.getFocusedComponent();
		return placeholder != null && placeholder.getProvider() == this;
	}
Returns true if this provider has focus

@return true if this provider has focus
Ghidra/Framework/Docking/src/main/java/docking/ComponentProvider.java