Checkig if bean value is not null