def METHOD_NAME(self, path: str) -> ObjectType:
    d = self._open(path)
    if d is None:
        return ObjectType.NOT_FOUND
    if isinstance(d, dict):
        return ObjectType.GROUP
    else:
        return ObjectType.CONFIG