input: Write a function to create a Python function that shuffles a list of numbers using the `random.shuffle` method. The function should return the shuffled list.
  
  ### Function Header:
  def shuffle_list(nums):
  
  ### Assert Test Cases:
  assert shuffle_list([1, 2, 3, 4, 5]) != [1, 2, 3, 4, 5]
  assert shuffle_list([]) == []
  assert shuffle_list([1]) == [1]
  
  ### Expected Output:
  import random
  
  def shuffle_list(nums):
      random.shuffle(nums)
      return nums
  
  shuffled_list = shuffle_list([1, 2, 3, 4, 5])
  print(shuffled_list) # The output will be a shuffled version of [1, 2, 3, 4, 5]
output: import random
  
  def shuffle_list(nums):
      random.shuffle(nums)
      return nums