public function loadEntitiesByProperties($entity_type, array $values) {
    $entities = $this->entityTypeManager->getStorage($entity_type)->loadByProperties($values);

    if (!empty($entities)) {
      return $entities;
    }
  }