public function isFinal()
    {
        if ($this->node instanceof Node\Stmt\Class_) {
            return $this->node->isFinal();
        }
        return false;
    }
public function isFinal()
    {
        if ($this->node instanceof Node\Stmt\Class_) {
            return $this->node->isFinal();
        }
        return false;
    }
public function isFinal ( ) { if ( $ this -> node instanceof Node \ Stmt \ Class_ ) { return $ this -> node -> isFinal ( ) ; } return false ; }
Checks whether this class is final.

@return bool TRUE if the class is final, FALSE otherwise.
Checks whether this class is final .