request: add helper to check the target resource type

Change-Id: Ia4e5807fb245057f825361864405db8894cab4ef
Merge "request: add helper to check the target resource type"