function (subject) {
    var kb = UI.store
    var ns = UI.ns
    var t = kb.findTypeURIs(subject)
    if (t[ns.ldp('Resource').uri]) return 'Sharing' // @@ be more sophisticated?
    if (t[ns.ldp('Container').uri]) return 'Sharing' // @@ be more sophisticated?
    if (t[ns.ldp('BasicContainer').uri]) return 'Sharing' // @@ be more sophisticated?
    // check being allowed to see/change shgaring?
    return null // No under other circumstances
  }
function (subject) {
    var kb = UI.store
    var ns = UI.ns
    var t = kb.findTypeURIs(subject)
    if (t[ns.ldp('Resource').uri]) return 'Sharing' 
    if (t[ns.ldp('Container').uri]) return 'Sharing' 
    if (t[ns.ldp('BasicContainer').uri]) return 'Sharing' 
    
    return null 
  }
function ( subject ) { var kb = UI . store var ns = UI . ns var t = kb . findTypeURIs ( subject ) if ( t [ ns . ldp ( 'Resource' ) . uri ] ) return 'Sharing' // @@ be more sophisticated? if ( t [ ns . ldp ( 'Container' ) . uri ] ) return 'Sharing' // @@ be more sophisticated? if ( t [ ns . ldp ( 'BasicContainer' ) . uri ] ) return 'Sharing' // @@ be more sophisticated? // check being allowed to see/change shgaring? return null // No under other circumstances }
Does the subject deserve an contact pane?
Does the subject deserve an contact pane?