Merge "Add isRootsUri method to check whether the roots uri is valid"