Function added to check if a community is a sub community
Bug fix
Reomve testing changes to sample file
Documentation
Merge pull request #1565 from DaviRyan/SubCommunityBugFix

Sub community bug fix