input: Write a python function to return a list of popular Python web frameworks given a list of framework names.
  assert get_popular_frameworks(['Flask', 'Django', 'Pyramid', 'FastAPI']) == ['Flask', 'Django', 'Pyramid']
  assert get_popular_frameworks(['Flask', 'Django', 'Bottle', 'Pyramid']) == ['Flask', 'Django', 'Pyramid']
  assert get_popular_frameworks(['FastAPI', 'Bottle', 'Tornado']) == []
output: def get_popular_frameworks(frameworks):
      popular_frameworks = {'Flask', 'Django', 'Pyramid'}
      return [framework for framework in frameworks if framework in popular_frameworks]