@classmethod
def find_or_create(cls, _commit=True, **kwargs):
    """
        Find an object or, if it does not exist, create it.

        :param kwargs: the values of the object to find or create
        :type kwargs: dict
        :returns: the object that was created
        """
    obj = cls.find(**kwargs)
    if not obj:
        obj = cls.create(_commit=_commit, **kwargs)
    return obj
