code: def get_all_instances(include_fastboot=False):
      
      if include_fastboot:
          serial_list = list_adb_devices() + list_fastboot_devices()
          return get_instances(serial_list)
      return get_instances(list_adb_devices())
docs: Create AndroidDevice instances for all attached android devices.
  
      Args:
          include_fastboot: Whether to include devices in bootloader mode or not.
  
      Returns:
          A list of AndroidDevice objects each representing an android device
          attached to the computer.