def METHOD_NAME(self, item, attribute=None, resolved=True, subgroup="PRIMARY"):
    """
    Must default subgroup to something in order to provide single return value
    """
    value = None
    if subgroup == "PRIMARY":
        subgroup = "case.test" if "case.test" in self.get_jobs() else "case.run"
    # pylint: disable=assignment-from-none
    if value is None:
        value = super(EnvWorkflow, self).METHOD_NAME(
            item, attribute=attribute, resolved=resolved, subgroup=subgroup
        )
    return value