input: Write a function to translate a given text from English to French using the googletrans library. Return the translated text as a string. If the input text is empty, return an empty string.
  assert translate_english_to_french("Hello, this is a sample text to translate.") == "Bonjour, ceci est un texte d'exemple à traduire."
  assert translate_english_to_french("Python is a great programming language.") == "Python est un excellent langage de programmation."
  assert translate_english_to_french("") == ""
output: def translate_english_to_french(text):
      if not text:
          return ""
      from googletrans import Translator
      translator = Translator()
      translation = translator.translate(text, src='en', dest='fr')
      return translation.text