human
Write a function to check whether the entered number is greater than the elements of the given array. Here is a solution in Python:
=====
Can you provide a the Python code you requested?
assistant
#Here is the Python code you requested.
 def check_greater(arr, number):
  arr.sort()
  return number > arr[-1]