public function isAllowedOnGlobalSpace (PhpParser\Node $node) 
    {
        return (
                $node instanceof Stmt\Class_
                || $node instanceof Stmt\Function_
                || $node instanceof Stmt\Trait_ 
                || ($node instanceof Stmt\UseUse || $node instanceof Stmt\Use_)
                || ($node instanceof Stmt\Namespace_ || $node instanceof Node\Name)
                || $node instanceof Stmt\Interface_
            );
    }