Returns true if this paragraph contains the given fragment.
bool containsFragment(String fragmentId) => _fragmentPositionMap.containsKey(fragmentId);