input: Write a function to list the contents of a directory using Python. Return the list of contents. If the directory is empty, return an empty list.
  assert list_directory_contents("example_directory")==['file1.txt', 'file2.txt', 'folder1']
  assert list_directory_contents("empty_directory")==[]
  assert list_directory_contents("")==[]
output: import os
  
  def list_directory_contents(directory):
      if not directory:
          return []
      try:
          return os.listdir(directory)
      except FileNotFoundError:
          return []