human
Give me a the Python program you requested given the following:
Write a function to check whether the given month number contains 31 days or not. Here is a solution in Python:
assistant
#Here is the Python program you requested.
 def check_monthnumb_number(monthnum2):
  if(monthnum2==1 or monthnum2==3 or monthnum2==5 or monthnum2==7 or monthnum2==8 or monthnum2==10 or monthnum2==12):
    return True
  else:
    return False