As part of mass rebuild we need to know what modules should be rebuilt and that can be identified by looking at the the modulemd build requires, it would be easy if libmodulemd can provide that info when a modulemd with a platform is provided.
Same as above but during branching, we need to identify the modules that runtime requires a certain platform. So, when a modulemd is provided with a platform, please return whether the platform is a runtime requirement or not.