def get_compile_status(mod_obj):
    """
    Gets compilation status of give module object
    :param mod_obj: module object
    :return: compilation status
    """
    try:
        cstatus = mod_obj.get('compilation-status')
        if cstatus is None:
            return ''
        return cstatus
    except Exception as e:
        return ''