I actually extended existing check in oelint-adv [1] and did run it on meta-openembedded already [2].
I first wanted to see what is the response from upstream and how those changes should look like.
Once oe-core changes are merged and I find time, I will split and cleanup that commit for meta-oe.
 
[1]: https://github.com/priv-kweihmann/oelint-adv/pull/857
[2]: https://github.com/michalsieron/meta-openembedded/commit/cc5d9c473c337b9830d102c2e235e53f4a8a4b6a