Add isRootsUri method to check whether the roots uri is valid

Base on the buildRootsUri method to provide isRootsUri to check
whether the uri is valid.

Change-Id: I626de4a67670d165436ae51154fc7fec3c9b424b
Fix: 116180469
Test: atest ActionHandlerTest
1 file changed