PATHCONTAINS Returns TRUE if the specified item exists within the specified path.
Syntax
PATHCONTAINS(path, item)
Parameters
path – A string created as the result of evaluating a PATH function.
Item – A text expression to look for in the path result.
Return Value
A value of TRUE if item exists in path; otherwise FALSE.
Reference Data
https://docs.microsoft.com/en-us/dax/dax-function-reference