def type_in_db(self, tp, params):
        """
        Determines if type is in the database
        :param tp:
        :return:
        """
        tw = TypeWrapper(tp, params)
        return self.version_db.is_versioned(tw)
Determines if type is in the database
        :param tp:
        :return: