def METHOD_NAME(self, item, value, subgroup=None, ignore_type=False):
    """
    Override the entry_id set_value function with some special cases for this class
    """
    val = None
    # allow the user to set item for all jobs if subgroup is not provided
    if subgroup is None:
        gnodes = self.get_children("group")
        for gnode in gnodes:
            node = self.get_optional_child("entry", {"id": item}, root=gnode)
            if node is not None:
                self._set_value(node, value, vid=item, ignore_type=ignore_type)
                val = value
    else:
        group = self.get_optional_child("group", {"id": subgroup})
        if group is not None:
            node = self.get_optional_child("entry", {"id": item}, root=group)
            if node is not None:
                val = self._set_value(
                    node, value, vid=item, ignore_type=ignore_type
                )
    return val