feat($transition): implement is() for matching