if (person.getEmployee() != null) {
if (person.getEmployee() != null && person.getEmployee().getCurrentContract() != null) {
    public ActionForward choosePerson(ActionMapping mapping, ActionForm actionForm,	    HttpServletRequest request, HttpServletResponse response) {	ExecutionDegreeBean executionDegreeBean = (ExecutionDegreeBean) RenderUtils.getViewState(		"executionDegree").getMetaObject().getObject();	IngressionInformationBean ingressionInformationBean = (IngressionInformationBean) RenderUtils		.getViewState("chooseIngression").getMetaObject().getObject();	PrecedentDegreeInformationBean precedentDegreeInformationBean = RenderUtils		.getViewState("precedentDegreeInformation") == null ? new PrecedentDegreeInformationBean()		: (PrecedentDegreeInformationBean) RenderUtils			.getViewState("precedentDegreeInformation").getMetaObject().getObject();	request.setAttribute("executionDegreeBean", executionDegreeBean);	request.setAttribute("ingressionInformationBean", ingressionInformationBean);	request.setAttribute("precedentDegreeInformationBean", precedentDegreeInformationBean);	PersonBean personBean = null;	if (RenderUtils.getViewState("choosePerson") != null) { // 1st time	    ChoosePersonBean choosePersonBean = (ChoosePersonBean) RenderUtils.getViewState(		    "choosePerson").getMetaObject().getObject();	    String identificationNumber = choosePersonBean.getIdentificationNumber();	    IDDocumentType documentType = choosePersonBean.getDocumentType();	    Person person = Person.readByDocumentIdNumberAndIdDocumentType(identificationNumber,		    documentType);	    if (person != null) {		personBean = new PersonBean(person);		if (person.getEmployee() != null) {		    request.setAttribute("personBean", personBean);		    return mapping.findForward("fillNewPersonDataForEmployee");		}	    } else {		personBean = new PersonBean(identificationNumber, documentType);	    }	} else if (RenderUtils.getViewState("person") != null) { // Postback	    personBean = (PersonBean) RenderUtils.getViewState("person").getMetaObject().getObject();	}	request.setAttribute("personBean", personBean);	return mapping.findForward("fillNewPersonData");    }