Issue #3198310 by mglaman, RichardGaunt: Add method to check if the route is a jsonapi resource route