Checking existence of ports in "hierarchy -check"