Shouldn't this be `$local || $upload->is_valid($form_name) `