Fixing isNotify() result

Should this condition be inverted?