In the spacemacs documentation for writing layers, it says that "[o]nly one layer may own a package". This has the consequence, that if you write a layer that requires a package, you have to know whether you can claim ownership of it by writing a
<layer>/init-<package> function, or if you have to use the
post-init function for the package to avoid seizing "ownership of a package that was owned by a previously enabled layer".
Is there a function in spacemacs, that takes a package name and tells you if it is owned by any standard spacemacs layer? I know that you technically only need to know if the package is owned by a previously enabled layer, but such a function would also help prevent writing unnecessary code.
In case it's of interest, in my particular case, I'm interested in