Is this person in a relationship?
Boolean MONTH Person Formula Included used 2 timesValue type Boolean . Default value false Entity person
Where is this used?
This variable is referred to by these other variables in their own calculations
- Int family_scheme__full_time_earner Does the hours per week the person is employed for qualify them as a full time earner
- Boolean sole_parent_support__meets_relationship_qualification Meets the sole parent support test for not being in a relationship
Formulas
This is the formula used to calculate the value of has_a_partner
0001-01-01
This formula is used for scenarios from the date 0001-01-01 onwards. More info on formulas
def formula(persons, period, parameters):
# has 1 or more partners
number_of_partners = persons.family.nb_persons(role=Family.PARTNER)
return number_of_partners >= 1