Description of issue or feature request:
As @sechkova have pointed out in this comment #1463 (comment) in DelegatedRole we are checking if paths and path_hash_prefixes BOTH are set, but we aren't checking
if at least one of them is set:
https://github.com/theupdateframework/tuf/blob/24fa1128116429dc18e185047fbffb009ca509b0/tuf/api/metadata.py#L914
For more context read theupdateframework/specification#156.
Current behavior:
We don't check if BOTH paths and path_hash_prefixes are None.
Expected behavior:
Check if BOTH paths and path_hash_prefixes are None.