code: def hasRecords(self):
          
          records = self.childRecords()
          if records and len(records) > 0:
              return True
          return False
docs: Returns whether or not this record has children.
          
          :return     <bool>