@property
    def metadata(self):
        if self.form in const.TAG_META:
            return Metadata.wrap(clean_metadata(self.to_json()[const.TAG_FORM][const.TAG_META]))

        return None
dataset/ETHPy150Open dimagi/commcare-hq/corehq/ex-submodules/couchforms/models.py/XFormInstance.metadata/swapped operands of `in`