def remove_fields_not_in_models(self):
        """remove fields not int models"""
        fields_to_remove = ["plan", "engine", "environment"]
        for field_name in fields_to_remove:
            if self.fields in field_name:
                del self.fields[field_name]
dataset/ETHPy150Open globocom/database-as-a-service/dbaas/logical/forms/database.py/DatabaseForm.remove_fields_not_in_models/swapped operands of `in`