code: def is_active_for(self, stage: "Stage", role: "Role"):
      return stage in self.stages and role in self.roles
  
imports: import typing
  from typing import Dict, List, Type, Union
label_desc: Use image node_id 4 for calling the AllowArtifactDescribes obj's underlying member method code with example usage: obj.is_active_for(stage, role) and returns: unknown