input: Write a function to implement a class representing a bank account with methods to deposit, withdraw, and check the balance. The class should accept the account holder's name and the initial balance as constructor parameters. Ensure that the withdraw method only decreases the balance if the requested amount is less than or equal to the available balance, and return True if the withdrawal is successful, otherwise return False. Implement the class and provide test cases to demonstrate its functionality.
  
  class BankAccount:
      
      def __init__(self, name, balance):
          self.name = name
          self.balance = balance
          
      def deposit(self, amount):
          self.balance += amount
      
      def withdraw(self, amount):
          if self.balance >= amount:
              self.balance -= amount
              return True
          else:
              return False
          
      def get_balance(self):
          return self.balance
  
  assert BankAccount("John", 1000).get_balance() == 1000
  assert BankAccount("Jane", 1500).withdraw(2000) == False
  account = BankAccount("Alice", 500)
  account.deposit(500)
  assert account.get_balance() == 1000
  assert account.withdraw(700) == True
  assert account.get_balance() == 300
output: class BankAccount:
      
      def __init__(self, name, balance):
          self.name = name
          self.balance = balance
          
      def deposit(self, amount):
          self.balance += amount
      
      def withdraw(self, amount):
          if self.balance >= amount:
              self.balance -= amount
              return True
          else:
              return False
          
      def get_balance(self):
          return self.balance