Check if S node has VP and NP children