Removed checks in isNote - it should never be null