code: private function hasNamedArguments(array $arguments): bool
      {
          foreach (array_keys($arguments) as $name) {
              if (!is_numeric($name)) {
                  return true;
              }
          }
  
          return false;
      }
docs: @param array $arguments
  
  @return bool