Add second argument to check_method helper to

match check_class helper and the documentation (second argument controls
whether output string is 'class="active"' or 'active').