public static function isNewline() {
    static $callback = NULL;
    if (!$callback) {
      $callback = function (Node $node) {
        return $node instanceof WhitespaceNode && $node->getNewlineCount() > 0;
      };
    }
    return $callback;
  }