def METHOD_NAME(self) -> str:
    if self.path:
        return "path"
    elif self.key_hash:
        return "key hash"
    elif self.script_hash:
        return "script"
    elif self.pointer:
        return "pointer"
    else:
        return ""