def get_user_email(self, config_file=None):
        username = self.get_config_value('ui', 'username')
        if username:
            return author_email(username)
        return None
This function returns True or False depending on the host platform.
dataset/ETHPy150Open codeinn/vcs/vcs/backends/hg/repository.py/MercurialRepository.get_user_email--crossover with--dataset/ETHPy150Open OpenCobolIDE/OpenCobolIDE/open_cobol_ide/extlibs/future/backports/test/support.py/check_impl_detail