code: public FunctionInputDefBuilder hasIf( String name, Object value)
      {
      return
        value != null
        ? has( name, value)
        : this;
      }
docs: Adds a function annotation if the given value is non-null