'Validate that the specified HTML has specific action..'

def validate_html_for_action_button(self, html, expected_html, can_action=True):

    if can_action:
        self.assertIn(expected_html, html)
    else:
        self.assertNotIn(expected_html, html)
