class Fedora::FedoraObject

def state

def state
  if attributes[:state] 
    return attributes[:state]
  elsif !new_object?
      properties_from_fedora[:state]
  else 
    return nil
  end
end