Detects closets node.