ISINSCOPE Returns true when the specified column is the level in a hierarchy of levels.
Syntax
ISINSCOPE(columnName)
Parameters
ColumnName – The name of an existing column, using standard DAX syntax. It cannot be an expression.
Return Value
TRUE when the specified column is the level in a hierarchy of levels.
Reference Data
https://docs.microsoft.com/en-us/dax/dax-function-reference