Checks if the uri is allowed on the specified attribute.
The uri provided may or may not be a relative path.
bool allowsUri(String uri);