This is my first experience with BeautifulSoup and I can't figure out what am I doing wrong

```
<table class="table sortable table-striped table-condensed r-tab-enabled">
 <thead>
    <tr class="r-tab-buttons r-only-tablet">
       <th class="r-tab-button active" data-defaultsort="disabled" data-group="1">Picks</th>
       <th class="r-tab-button" data-defaultsort="disabled" data-group="2">Bans</th>
       <th class="r-tab-button" data-defaultsort="disabled" data-group="3">Combined</th>
    </tr>

```

This is a sample of HTML page I'm working with and my code:

```
r = requests.get(URL, headers=headers)
soup = bs4.BeautifulSoup(r.text, 'lxml')

table = soup.find_all(lambda tag: tag.name=='table' and tag.has_attr('class') and tag['class'] =="table sortable table-striped table-condensed r-tab-enabled")

```

it returns nothing, but this works

```
table = soup.find_all(lambda tag: tag.name=='table' and tag.has_attr('class'))

```

So should it return nothing? Or how do I input arguments into `find_all`