Functional is_only_child function added to test for only child status of single number