code: function isFunction(doc) {
  
    if(~doc.flags.indexOf('function')) return true;
  
    if(~doc.flags.indexOf('class')) return false;
  
    if(/^\s*function/.test(doc.firstLine)) return true;
  
    return false;
  }
docs: Return true if this documentation block may comment a Class
  
  The doc-block may be a function comment if:
  - The function's flag is present
  - The tag `@class` is not present
  - The first line token is only a function
  
  @param {Object} doc
  docflux parser result