code: public final boolean stop() {
  
          if (booting || running) {
              stopping = true;
              booting = false;
              onStopping();
              return true;
          } else {
              return false;
          }
  
      }
docs: Stop this ec2 instance.
  
  @return true for successfully turned into 'stopping' and false for nothing changed