iPhone check for nil params