class ActiveFedora::File

def new_record?

By tracking exists we prevent an unnecessary HEAD request.
If this file has a parent with ldp#contains, we know it is not new.
def new_record?
  !@exists && ldp_source.new?
end