input: Write a function to convert a list of book information into a dictionary format. Each book in the list should be represented as a dictionary with keys 'title', 'author', and 'pages'. If the input list is empty, return an empty list.
  
  assert convert_books_to_dict([['The Hobbit', 'J.R.R. Tolkien', 295], ['The Catcher in the Rye', 'J.D. Salinger', 223]])==[{'title': 'The Hobbit', 'author': 'J.R.R. Tolkien', 'pages': 295}, {'title': 'The Catcher in the Rye', 'author': 'J.D. Salinger', 'pages': 223}]
  assert convert_books_to_dict([])==[]
output: def convert_books_to_dict(books):
      return [{'title': book[0], 'author': book[1], 'pages': book[2]} for book in books] if books else []