code: def has_family_notes(family, data_dir=None):
      '''Check if notes exist for a given family
  
      Returns True if they exist, false otherwise
      '''
  
      file_path = _family_notes_path(family, data_dir)
      return os.path.isfile(file_pathf has_family_notes(family, data_dir=None):
      '''Check if notes exist for a given family
  
      Returns True if they exist, false otherwise
      '''
  
      file_path = _family_notes_path(family, data_dir)
      return os.path.isfile(file_path)
docs: Check if notes exist for a given family
  
      Returns True if they exist, false otherwise