code/dataobjects/RecordBeingEdited.php
public function isEditingAnyway()
    {
        if (!$this->canEditAnyway()) {
            return false;
        }

        $sessionVar = 'EditAnyway_' . Member::currentUserID() . '_' . $this->ID;
        if (Controller::curr()->getRequest()->getVar('editanyway') == '1') {
            Session::set($sessionVar, true);
            return true;
        }
        return Session::get($sessionVar) ? true : false;
    }
public function isEditingAnyway()
    {
        if (!$this->canEditAnyway()) {
            return false;
        }

        $sessionVar = 'EditAnyway_' . Member::currentUserID() . '_' . $this->ID;
        if (Controller::curr()->getRequest()->getVar('editanyway') == '1') {
            Session::set($sessionVar, true);
            return true;
        }
        return Session::get($sessionVar) ? true : false;
    }
Checks to see if the current user can and has elected to edit the record anyway
@return Boolaen