input: Write a function to create a class in Python that represents a bank account with methods to deposit, withdraw, and check the balance. If the withdrawal amount is more than the available balance, it should return False otherwise True. If the given input for the balance is empty or invalid, then return None initially.
  
  class BankAccount:
      
      def __init__(self, name, balance):
          if balance < 0:
              return None
          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("Alice", 100).get_balance() == 100
  assert BankAccount("Bob", 200).withdraw(50) == True
  assert BankAccount("Charlie", 0).withdraw(10) == False
  assert BankAccount("Eve", -50) == None
output: class BankAccount:
      
      def __init__(self, name, balance):
          if balance < 0:
              return None
          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