input: Write a function to build and execute a Bash script that can install the specified software given its version. The function should return True if the installation was successful and False otherwise. 
  assert install_software("Python 3.8.5") == True
  assert install_software("Invalid Software 1.0") == False
  assert install_software("Python 3.8.6") == True
output: import subprocess
  
  def install_software(software_version):
      try:
          subprocess.run(f"sudo apt-get install -y {software_version}", shell=True, check=True)
          return True
      except subprocess.CalledProcessError:
          return False