whole_func_string: function bothForAndIFAttr(attrs) {
      if (!attrs) {
          return false;
      }
  
      let hasForAttr = FOR_DIRECTIVES.some(item => attrs[item]);
      let hasIf = CONDITION_DIRECTIVES.some(item => attrs[item]);
  
      return hasForAttr && hasIf;
  }
func_code_string: function bothForAndIFAttr(attrs) {
      if (!attrs) {
          return false;
      }
  
      let hasForAttr = FOR_DIRECTIVES.some(item => attrs[item]);
      let hasIf = CONDITION_DIRECTIVES.some(item => attrs[item]);
  
      return hasForAttr && hasIf;
  }
func_documentation_string: for if 并存判断
  
  @param  {Object} attrs attrs
  @return {boolean}