delete unused hasPatWithPid
delete unused hasPatWithPid

`hasPatWithPid` invokes `childCodeObjects`, which we want to change, so
now's a good time to delete it

ravichugh/sketch-n-sketch,ravichugh/sketch-n-sketch,ravichugh/sketch-n-sketch,ravichugh/sketch-n-sketch,ravichugh/sketch-n-sketch,ravichugh/sketch-n-sketch