input: Write a function to implement a bank account class in Python. The class should have methods to initialize the account with an owner's name and initial balance, deposit an amount, withdraw an amount if sufficient funds are available, and retrieve the current balance.
  
  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
  
  # Test cases
  assert BankAccount("Alice", 1000).withdraw(500) == True
  assert BankAccount("Bob", 500).withdraw(700) == False
  assert BankAccount("Charlie", 2000).deposit(500).get_balance() == 2500
  assert BankAccount("Dave", 3000).withdraw(3000) == True
  assert BankAccount("Eve", 1500).get_balance() == 1500
  
output: 
  class BankAccount:
      
      def __init__(self, name, balance):
          self.name = name
          self.balance = balance
          
      def deposit(self, amount):
          self.balance += amount
          return self
      
      def withdraw(self, amount):
          if self.balance >= amount:
              self.balance -= amount
              return True
          else:
              return False
          
      def get_balance(self):
          return self.balance
  