That's why it's implementation-internal, and the exported symbol is umockdev_is_mock_environment() :)