@property<EOL><INDENT>def is_current(self):<DEDENT>
if not self.is_internal:<EOL><INDENT>return False  <EOL><DEDENT>has_same_endpoint = (request.endpoint == self.endpoint)<EOL>has_same_args = (request.view_args == self.args)<EOL>return has_same_endpoint and has_same_args<EOL>
``True`` if current request has same endpoint with the item.

        The property should be used in a bound request context, or the
        :class:`RuntimeError` may be raised.