def is_submod(mod_obj):
    """
    Find out whether module has a parent or not.
    :param mod_obj: module object
    :return: module status
    """
    try:
        bt = mod_obj.get('belongs-to')
        if not bt:
            return False
        return True
    except Exception as e:
        return False