input: Write a function to create a visualization in Python using Matplotlib that displays the top 5 most popular programming languages. The function should take two lists as input: one for the programming languages and one for their corresponding popularity percentages. The function should then create a bar chart with the given data and display it. If the input lists are empty, the function should return False.
  assert visualize_languages(["Python", "Java", "C++", "Javascript", "C#"], [45, 25, 15, 10, 5])==True
  assert visualize_languages(["Python", "Java", "C++"], [45, 25, 15])==True
  assert visualize_languages([], [])==False
output: def visualize_languages(languages, percentages):
      if not languages or not percentages:
          return False
      import matplotlib.pyplot as plt
      plt.bar(languages, percentages)
      plt.xlabel('Programming Languages')
      plt.ylabel('Popularity Percentage')
      plt.title('Top 5 Most Popular Programming Languages')
      plt.show()
      return True