def METHOD_NAME(self, **filters):
    try:
        return str(self.context.plan.steps.filter(**filters).first().id)
    except AttributeError:
        logger.error(f"Unknown task {filters} for {self.context}")
        return None