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