Possibly faster check for sentinel.