```python
def tag_open(marker: str) -> str:
    if not marker.startswith('<') or not marker.endswith('>'):
        raise ValueError("Invalid marker format")
    return marker[1:-1]

def tag_pair(opening: str, closing: str) -> bool:
    if opening != closing:
        return False
    return True
```