          self.trainer = self.get_arg("-t", "--trainer")
          self.state_file = self.get_state_file()
  
      @property
      def is_training(self):
          """ Return whether this has been called during training """
          return len(sys.argv) > 1 and sys.argv[1].lower() == "train"
  
      @staticmethod
      def get_arg(*args):
          """ Return the value for a given option from sys.argv. Returns None if not found """
 
</s> remove     def get_arg(*args):
        """ Return the value for a given option from sys.argv. Returns None if not found """
 </s> add     def _get_arg(*args):
        """ Obtain the value for a given command line option from sys.argv.

        Returns
        -------
        str or ``None``
            The value of the given command line option, if it exists, otherwise ``None``
        """ </s> remove         self.model_dir = self.get_arg("-m", "--model-dir")
        self.trainer = self.get_arg("-t", "--trainer")
        self.state_file = self.get_state_file()
 </s> add         self._model_dir = self._get_arg("-m", "--model-dir")
        self._trainer = self._get_arg("-t", "--trainer")
        self.state_file = self._get_state_file() </s> remove     def format_text(key, val):
        """Format the text for output """
        return "{0: <25} {1}\n".format(key.strip() + ":", val.strip())


class State():
    """ State file for training command """
 </s> add     def _format_text(key, value):
        """Format a key value pair into a consistently spaced string output for display.

        Parameters
        ----------
        key: str
            The label for this display item
        value: str
            The value for this display item

        Returns
        -------
        str
            The formatted key value pair for display
        """
        return "{0: <25} {1}\n".format(key.strip() + ":", value.strip())


class _State():
    """ Parses the state file in the current model directory, if the model is training, and
    formats the content into a human readable format. """ </s> remove     def is_virtual_env(self):
        """ Boolean for whether running in a virtual environment """
        if not self.is_conda:
 </s> add     def _is_virtual_env(self):
        """ bool: `True` if running inside a virtual environment otherwise ``False``. """
        if not self._is_conda: </s> remove     def is_windows(self):
        """ Boolean for whether system is Windows """
        return self.system.lower() == "windows"
 </s> add     def _is_windows(self):
        """ bool: `True` if running on a Windows system otherwise ``False``. """
        return self._system["system"].lower() == "windows"
    def _is_training(self):
        """ bool: ``True`` if this function has been called during a training session
        otherwise ``False``. """
          self.trainer = self.get_arg("-t", "--trainer")
          self.state_file = self.get_state_file()
  
      @property
    def _is_training(self):
        """ bool: ``True`` if this function has been called during a training session
        otherwise ``False``. """
    def _is_training(self):
        """ bool: ``True`` if this function has been called during a training session
        otherwise ``False``. """
          return len(sys.argv) > 1 and sys.argv[1].lower() == "train"
  
      @staticmethod
      def get_arg(*args):
          """ Return the value for a given option from sys.argv. Returns None if not found """
keep keep keep keep replace replace keep keep keep keep keep
 Core Updates (#1015)

- Remove lib.utils.keras_backend_quiet and replace with get_backend() where relevant
- Document lib.gpu_stats and lib.sys_info
- Remove call to GPUStats.is_plaidml from convert and replace with get_backend()
- lib.gui.menu - typofix 
lib/sysinfo.py