code: def _has_state(self):
      state_filename = os.path.join(
          self.working_dir, "terraform.tfstate"
      )
      return os.path.exists(state_filename)
  
imports: import json
  import logging
  import os
  import re
  import subprocess
  import sys
  from guild import remote
  from guild import remote_util
  from guild import util
  from guild import var
  from .None import ssh
  from .None import ssh_util
label_desc: Use image node_id 15 for calling the AzureVMRemote obj's underlying member method code with example usage: obj._has_state() and returns: os