docs: def _is_valid_scan(self):
          """
          Detect if a type
          :return: a boolean
          """
          if self._scan is not None:
              return self._scan
          if self._ordering:
              return False
          if self._facets:
              return False
              #TODO check for child or nested query
          return True