isValid

Checks whether the given id is a valid namespaced or non-namespaced resource path.