code: def is_sharded_file_spec(spec: str) -> bool:
      """Returns True if spec is a sharded file specification."""
      m = SHARD_SPEC_PATTERN.match(spec)
      return m is not None
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import math
  import os
  import re
  from typing import List, Tuple
  from etils import epath
  import six
label_desc: Use image node_id 8 for calling a global function with example usage: is_sharded_file_spec(spec) and returns: unknown