It is not possible to process in threads IDTypes that have py-defined
RNA properties with custon callbacks, since those are executed in py,
which is only possible in the main thread.
So introduce a way to check whether a given ID type has py-defined
RNA properties with cutom callbacks, in some specific context (e.g. in
liboverride case, if a property is explicitely excluded from comparison,
we can still process those IDs even if it has python callbacks).