Extracted method isDisabled(TreeObject)