code: private function isValidOrder(array $entry)
      {
          $shopIdentity = $this->identityService->findOneOrThrow(
              (string) $entry['languageSubShop']['id'],
              ShopwareAdapter::NAME,
              Shop::TYPE
          );
  
          $isMappedIdentity = $this->identityService->isMappedIdentity(
              $shopIdentity->getObjectIdentifier(),
              $shopIdentity->getObjectType(),
              $shopIdentity->getAdapterName()
          );
  
          if (!$isMappedIdentity) {
              return false;
          }
  
          if (empty($entry['billing'])) {
              $this->logger->warning('empty order billing address - order: ' . $entry['number']);
  
              return false;
          }
  
          if (empty($entry['details'])) {
              $this->logger->warning('empty order positions - order: ' . $entry['number']);
  
              return false;
          }
  
          if (empty($entry['shipping'])) {
              $this->logger->warning('empty order shipping address - order: ' . $entry['number']);
  
              return false;
          }
  
          $shippingProfileIdentity = $this->identityService->findOneBy([
              'adapterIdentifier' => (string) $entry['dispatchId'],
              'adapterName' => ShopwareAdapter::NAME,
              'objectType' => ShippingProfile::TYPE,
          ]);
  
          if (null === $shippingProfileIdentity) {
              $this->logger->warning('no shipping profile was selected for order: ' . $entry['number']);
  
              return false;
          }
  
          return true;
      }
docs: @param array $entry
  
  @return bool