@predicate<EOL><INDENT>def matches_selector(self, *args, **kwargs):<DEDENT>
return self.assert_matches_selector(*args, **kwargs)<EOL>
Checks if the current node matches the given selector.

Args:
    *args: Variable length argument list for :class:`SelectorQuery`.
    **kwargs: Arbitrary keyword arguments for :class:`SelectorQuery`.

Returns:
    bool: Whether it matches.