Clean up some `isSomething` functions