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_
            );
    }
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_
            );
    }
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_ ) ; }
Is node allowed on global space?
@param PhpParser\Node $node
@return bool
Is node allowed on global space?