nl_tokens: Simple check to see if the provided stack is empty or falsy .
pl_tokens: function empty ( value ) { if ( ! <mask> ) return true ; switch ( is ( value ) ) { case "object" : return ! Object . keys ( value ) . length ; case "array" : return ! value . length ; default : return ! value ; } }