def check(self, locator=None, allow_label_click=None, **kwargs):
self._check_with_label(<EOL>"<STR_LIT>", True, locator=locator, allow_label_click=allow_label_click, **kwargs)<EOL>
Find a check box and mark it as checked. The check box can be found via name, id, or label
text. ::

    page.check("German")

Args:
    locator (str, optional): Which check box to check.
    allow_label_click (bool, optional): Attempt to click the label to toggle state if
        element is non-visible. Defaults to :data:`capybara.automatic_label_click`.
    **kwargs: Arbitrary keyword arguments for :class:`SelectorQuery`.