docs: def register_condition(self, *args, **kwds):
      """
      Usage:
  
      @profile.register_condition
      @condition
      def myCondition():
        return 123
  
      #or
  
      @profile.register_condition(name='my_condition')
      @condition
      def myCondition():
        return 123
      """
      if len(args) == 1 and len(kwds) == 0 and callable(args[0]):
        return self._add_condition(args[0])
      else:
        return partial(self._add_condition, *args, **kwds)