Blueprints for a specific space


when i install my blueprint it is globally avaible. I want to use it after install only in a specific space.
How can i say the blueprint that only shows in a create dialog in a specific space, maybe identify based on the space key?

Have you managed to restrict blueprint for specific space?

I’m facing similar problem.
What I think is a solution is to write custom condition class to filter out unwanted spaces and show only in desired space.

But the problem is that I can not find the documentation to how to implement this class.