Added function to check for existence of child pages. Fixes #26