How about
`{
     if (param == nil || param == [NSNull null]) {
        return object;
    }
    return param;
}