'Returns the usage id of active sequence item'

def active_usage_id(self):

    get_active = (lambda el: ('active' in el.get_attribute('class')))
    attribute_value = (lambda el: el.get_attribute('data-id'))
    return self.q(css='#sequence-list    .nav-item').filter(get_active).map(attribute_value).results[0]
