code: def parse_fileshare_or_file_snapshot_parameter(url):
      # type: (str) -> Tuple[str, str]
      
      if is_not_empty(url):
          if '?sharesnapshot=' in url:
              try:
                  tmp = url.split('?sharesnapshot=')
                  if len(tmp) == 2:
                      dateutil.parser.parse(tmp[1])
                      return tmp[0], tmp[1]
              except (ValueError, OverflowError):
                  pass
          elif '?snapshot=' in url:
              try:
                  tmp = url.split('?snapshot=')
                  if len(tmp) == 2:
                      dateutil.parser.parse(tmp[1])
                      return tmp[0], tmp[1]
              except (ValueError, OverflowError):
                  pass
      return url, None
docs: Checks if the fileshare or file is a snapshot
      :param url str: file url
      :rtype: tuple
      :return: (url, snapshot)