How to change flight mode in MAVSDK C++

Hello,

Does the function set_flight_mode exist (I have seen that there was a pull request some time ago)?. If not, is there a way to command a change of flight mode (for instance go to HOLD mode) after landing?

Thanks