(filename, suffixes)
return suffix in suffixes
Returns whether the given filename matches one of the given suffixes.

  Args:
    filename: Filename to check.
    suffixes: Sequence of suffixes to check.

  Returns:
    Whether the given filename matches one of the given suffixes.
Returns whether the given filename matches one of the given suffixes.
Returns whether the given filename matches one of the given suffixes .
def MatchesSuffixes(filename, suffixes):
  """Returns whether the given filename matches one of the given suffixes.

  Args:
    filename: Filename to check.
    suffixes: Sequence of suffixes to check.

  Returns:
    Whether the given filename matches one of the given suffixes.
  """
  suffix = filename[filename.rfind('.'):]
  return suffix in suffixes
def MatchesSuffixes ( filename , suffixes ) : suffix = filename [ filename . rfind ( '.' ) : ] return suffix in suffixes