input: Write a function to determine if a basic REST API with authentication and endpoints can be generated in Python. If it is possible return True else return False. If the input is not applicable then return True.
  assert generate_rest_api(None)==True
  assert generate_rest_api("Python")==True
  assert generate_rest_api("JavaScript")==False
  assert generate_rest_api("")==True
  assert generate_rest_api([])==True
output: def generate_rest_api(language):
      if language is None or language == "" or isinstance(language, list):
          return True
      return language == "Python"