input: Write a python function to check if a given directory exists.
  assert check_directory_exists("/home/user") == True
  assert check_directory_exists("/some/non/existent/directory") == False
  assert check_directory_exists(".") == True
output: def check_directory_exists(directory_path):
      import os
      return os.path.isdir(directory_path)