   isStopped   : -> @status?.state is Machine.State.Stopped
   isUsable    : -> @isRunning() or @isStopped()
   getOldOwner : -> @jMachine.meta.oldOwner
+


    { kontrol } = kd.singletons

    klient = kontrol.kites?.klient?[@uid]
    return klient  if klient


doesQueryStringValid  = require '../util/doesQueryStringValid'
nick                  = require '../util/nick'
globals               = require 'globals'
runMiddlewares        = require 'app/util/runMiddlewares'
TestMachineMiddleware = require './middlewares/testmachine'


module.exports = class Machine extends KDObject

  @getMiddlewares = ->
    return [
      TestMachineMiddleware.Machine
    ]


  @State = {

