code: def distribution_compatible(dist, supported_tags=None):
    
    if supported_tags is None:
      supported_tags = get_supported()
    package = Package.from_href(dist.location)
    if not package:
      return False
    return package.compatible(supported_tags)
docs: Is this distribution compatible with the given interpreter/platform combination?
  
    :param supported_tags: A list of tag tuples specifying which tags are supported
      by the platform in question.
    :returns: True if the distribution is compatible, False if it is unrecognized or incompatible.