input: Write a function to implement a class in Python that represents a bank account, including methods for depositing, withdrawing, and checking the balance. Add an assert test case to verify the initial deposit and withdrawal functionality of the bank account class.
  
  assert BankAccount("Alice", 1000).deposit(500).get_balance() == 1500
  assert BankAccount("Bob", 2000).withdraw(1500) == True and BankAccount("Bob", 2000).withdraw(1500).get_balance() == 500
output: class BankAccount:
      def __init__(self, owner, balance):
          self.owner = owner
          self.balance = balance
  
      def deposit(self, amount):
          self.balance += amount
          return self
  
      def withdraw(self, amount):
          if amount <= self.balance:
              self.balance -= amount
              return self
          return False
  
      def get_balance(self):
          return self.balance