module ActiveFedora::Core

def readonly?

attributes will be marked as read only since they cannot be saved.
Returns +true+ if the record is read only. Records loaded through joins with piggy-back
def readonly?
  @readonly
end