def person_case_opted_out(case):
    """
    Applies to both person cases representing mothers and person cases representing children.
    Returns True if the person is marked as having opted out of services, otherwise False.
    """
    return case.get_case_property('registered_status') == 'not_registered'