code: def _contains_egg_info(
          s, _egg_info_re=re.compile(r'([a-z0-9_.]+)-([a-z0-9_.!+-]+)', re.I)):
      
      return bool(_egg_info_re.search(s))
docs: Determine whether the string looks like an egg_info.
  
      :param s: The string to parse. E.g. foo-2.1