code: def _AddUser(self, user):
      
      self.logger.info('Creating a new user account for %s.', user)
  
      command = self.useradd_cmd.format(user=user)
      try:
        subprocess.check_call(command.split(' '))
      except subprocess.CalledProcessError as e:
        self.logger.warning('Could not create user %s. %s.', user, str(e))
        return False
      else:
        self.logger.info('Created user account %s.', user)
        return True
docs: Configure a Linux user account.
  
      Args:
        user: string, the name of the Linux user account to create.
  
      Returns:
        bool, True if user creation succeeded.