code: def isFrameRange(frange):
          
          # we're willing to trim padding characters from consideration
          # this translation is orders of magnitude faster than prior method
          frange = str(frange).translate(None, ''.join(PAD_MAP.keys()))
          if not frange:
              return True
          for part in frange.split(','):
              if not part:
                  continue
              try:
                  FrameSet._parse_frange_part(part)
              except ParseException:
                  return False
          return True
docs: Return True if the given string is a frame range. Any padding
          characters, such as '#' and '@' are ignored.
  
          Args:
              frange (str): a frame range to test
  
          Returns:
              bool: