You don't really need a private help method when it's only one type of node you're checking.