input: Write a python function to check if Django is installed and available on the PYTHONPATH environment variable.
  assert check_django() == True or check_django() == False
output: def check_django():
      try:
          import django
          return True
      except ImportError:
          return False