input: Write a function to create a class that represents a bank account in Python with methods to deposit, withdraw, and check the balance. The constructor should accept the owner's name and initial balance. If the given initial balance is less than zero then set it to zero.
  assert BankAccount("John", 100).get_balance() == 100
  assert BankAccount("Sarah", -50).get_balance() == 0
  assert BankAccount("Mike", 200).withdraw(50) == True
  assert BankAccount("Mike", 200).withdraw(250) == False
  assert BankAccount("Mike", 200).deposit(50).get_balance() == 250
output: class BankAccount:
      def __init__(self, owner, initial_balance):
          self.owner = owner
          self.balance = max(initial_balance, 0)
  
      def deposit(self, amount):
          if amount > 0:
              self.balance += amount
          return self
  
      def withdraw(self, amount):
          if amount > 0 and amount <= self.balance:
              self.balance -= amount
              return True
          return False
  
      def get_balance(self):
          return self.balance