Minor typo fix

Change `inDefined` to `isDefined`