&& (parkingRequest.getFirstCarOwnerIdFileName() != null || parkingRequest .getFirstDeclarationAuthorizationFileName() != null)) {
&& (parkingRequest.getFirstCarOwnerIdDocumentState() != null || parkingRequest .getFirstCarDeclarationDocumentState() != null)) {
    private void prepareRadioButtonsForm(ActionForm actionForm, ParkingParty parkingParty) {        DynaActionForm parkingForm = (DynaActionForm) actionForm;        ParkingRequest parkingRequest = parkingParty.getFirstRequest();        if (parkingForm.get("ownVehicle1") == null) {            if (parkingRequest != null                    && (parkingRequest.getFirstCarOwnerIdFileName() != null || parkingRequest                            .getFirstDeclarationAuthorizationFileName() != null)) {                parkingForm.set("ownVehicle1", false);            } else {                parkingForm.set("ownVehicle1", true);            }        }        if (parkingForm.get("ownVehicle2") == null) {            if (parkingRequest != null                    && (parkingRequest.getSecondCarOwnerIdFileName() != null || parkingRequest                            .getSecondDeclarationAuthorizationFileName() != null)) {                parkingForm.set("ownVehicle2", false);            } else {                parkingForm.set("ownVehicle2", true);            }        }        if (parkingForm.get("vehicle2") == null) {            if (parkingRequest != null                    && (parkingRequest.getSecondCarMake() != null && parkingRequest.getSecondCarMake()                            .length() != 0)) {                parkingForm.set("vehicle2", true);            } else {                parkingForm.set("vehicle2", false);            }        }    }