BROKEN! Checking if components are allowed as subelements of target parent.