RF: use == instead of `is` for comparision

From comment by Eric L.