human
Give me a the Python program you requested given the following:
Write a function to check if all values are same in a dictionary. Here is a solution in Python:
assistant
#Here is the Python program you requested.
 def check_value(dict, n):
    result = all(x == n for x in dict.values()) 
    return result