nl_tokens: Gets the instance marked as master
pl_tokens: function getMasterInstance ( instances ) { let instanceId ; const instanceIds = Object . <mask> ( instances ) ; for ( let i = 0 ; i < instanceIds . length ; i ++ ) { instanceId = instanceIds [ i ] ; if ( instances [ instanceId ] . isMaster ) { return { id : instanceId , instance : instances [ instanceId ] } ; } } return null ; }