:param dat: dict like {'name': <the ele name>}
        :type dat: dict
        :param skip_log: skip log at your wish
        :type skip_log:
        :return:
        :rtype:

def has_element(self, dat, skip_log=False):
        """
        :param dat: dict like {'name': <the ele name>}
        :type dat: dict
        :param skip_log: skip log at your wish
        :type skip_log:
        :return:
        :rtype:
        """
        try:
            if self.get_elements(dat, skip_log=skip_log):
                return True
        except Exception as _:
            if not skip_log:
                log.error(_)
            return False