@reference_primary.setter<EOL><INDENT>def reference_primary(self, value):<DEDENT>
if value is not None:<EOL><INDENT>self._reference_primary = True if value else False<EOL><DEDENT>
Always convert to bool if the service/database returns 0 or 1