sS optCastToString(O o) { ret o instanceof S ? (S) o : null; }