Is it possible to know from which library is a component?

I’m importing components using importComponentByKeyAsync And I’d like to filter the functionality for only some libraries (I don’t mind hardcoding things now). Is there a way to have a library ID or something to filter out where to apply or not the functionality?

Was expecting to have some reference to the library of each main component.

Thanks in advance

component.remote

Thanks @Gleb This seems to be just a boolean, so you cannot really differentiate between team libraries right?

No, you can’t.