'Selects Type filter from dropdown which filters the results.
Returns False if no filter.'

@wait_for_js
def select_type_filter(self, filter_number):

    self.wait_for_ajax()
    if self.q(css='.filterable-column    .nav-item').is_present():
        if (not self.q(css=(self.type_filter_element + '    .wrapper-nav-sub')).visible):
            self.q(css='.filterable-column    >    .nav-item').first.click()
        self.wait_for_element_visibility((self.type_filter_element + '    .wrapper-nav-sub'), 'Type    Filter    promise    satisfied.')
        self.q(css=(self.type_filter_element + '    .column-filter-link')).nth(filter_number).click()
        self.wait_for_ajax()
        return True
    return False
