:return: returns a tuple of the instance and a boolean flag specifying
        whether or not the instance was created

def get_or_create(self, commit=False, **kwargs) -> Tuple[model, bool]:
        """
        :return: returns a tuple of the instance and a boolean flag specifying
        whether or not the instance was created
        """
        instance = self.get_by(**kwargs)
        if not instance:
            return self.create(commit=commit, **kwargs), True
        return instance, False