Checks if an IRI can be abbreviated using a prefix.
The IRI to check.
The prefix mappings.
The prefix and local name, or undefined if no match.
Checks if an IRI can be abbreviated using a prefix.