Evaluate if a given string is a valid pathspec identifier.
Pathspec evaluation is matched against the following regular
expression patterns:
```plaintext
OS Pathspec
NT: ^(.+)[\\\\]([^\\\\]+)\\*$
Other: ^(.+)[\\/]([^\\/]+)$
OR
Valid names of CWD subdirectories
^[\\w\\d\\-_]+$
```
The following pathspecs are evaluated as valid pathspec identifiers
(OS implicitly implied):
- C:\\User\\user-1\\Documents\\my-project
- $HOME/.local/bin/my_project
- ".\\Python Examples\\my-project1"
The following pathspecs are evaluated as invalid pathspec identifiers
(OS implicitly implied)
- ./this,_is-a(bad)+pathspec
`@Params`: path_spec - `str`
`@Return`: `bool`