New DOM node check method. I need to split DOM logic from business.