Added method to check for subnumber