EditorExtension Plugin - Get Current Blueprint of Blueprint Editor?

Am currently writing a Editor plugin to extend some functionality and I’ve managed to create a new button on a toolbar inside the Blueprint Editor.

But now I would need to find out what Blueprint is ‘open’ when the Blueprint Editor opens to know whether or not I should create this button in the first place. (I only want it to create this button if the default object of the blueprint has specific actor component on it so I need a reference either to the active FBlueprintEditor or UBlueprint* object that is currently open)

How would I do this?