Checking if node is treeable type
Making sure that after changing password it is not required to change
it again