def contains_dollar_sign(input_string):
  """
    check if string contains '$'
  >>> contains_dollar_sign("$5")
  True
  >>> contains_dollar_sign("5")
  False
  """
  return any(_ == "$" for _ in input_string)