public static function hasScalars(array $array): bool
  {
    $ret = false;
    foreach ($array as $tmp)
    {
      if (is_object($tmp))
      {
        $ret = true;
        break;
      }
    }

    return $ret;
  }