Add functions to detect if links are magic links
This allows for identifying magic links since it's not as straightforward as in the legacy PHP parser. No write functionality is provided since, well, we're not encouraging that. But if someone had a good use case we could add it I suppose.