code: def verify_aws_login(self):
          ''' Verify AWS login '''
          if not self.mtc:
              return False
  
          try:
              self.mtc.get_account_balance()
          except Exception as exception:
              print exception
              return False
          else:
              return Truf verify_aws_login(self):
          ''' Verify AWS login '''
          if not self.mtc:
              return False
  
          try:
              self.mtc.get_account_balance()
          except Exception as exception:
              print exception
              return False
          else:
              return True
docs: Verify AWS login