FPackageName::IsValidPath

Returns true if the path starts with a valid root (i.e. /Game/, /Engine/, etc).