Condition if state existe