Should be overridden if this Controller needs to handle the back button being pressed.

@return True if this Controller has consumed the back button press, otherwise false
345016
public boolean handleBack() {
        List<RouterTransaction> childTransactions = new ArrayList<>();

        for (ControllerHostedRouter childRouter : childRouters) {
            childTransactions.addAll(childRouter.getBackstack());
        }

        Collections.sort(childTransactions, new Comparator<RouterTransaction>() {
            @Override
            public int compare(RouterTransaction o1, RouterTransaction o2) {
                return o2.transactionIndex - o1.transactionIndex;
            }
        });

        for (RouterTransaction transaction : childTransactions) {
            Controller childController = transaction.controller;

            if (childController.isAttached() && childController.getRouter().handleBack()) {
                return true;
            }
        }

        return false;
    }
625463
public boolean onLogon()
    {
        Record record = Record.makeRecordFromClassName(UserInfoModel.THICK_CLASS, this);
        this.removeRecord(record);
        BasePanel parentScreen = this.getParentScreen();
        ScreenLocation itsLocation = this.getScreenLocation();
        parentScreen.popHistory(1, false);
        parentScreen.pushHistory(this.getScreenURL(), false);  // Update the history to my current state.
        this.finalizeThisScreen();  // Validate current control, update record, get ready to close screen.
        Map<String,Object> properties = null;
        this.free();
        int docMode = record.commandToDocType(UserInfoModel.LOGIN_SCREEN);
        record.makeScreen(itsLocation, parentScreen, docMode, properties);
        return true;
    }
242067
public boolean dispatchMotionEvent(MotionEvent event) {
        GVRCursorController controller = getUniqueControllerId(event.getDeviceId());
        if ((controller != null) && controller.isEnabled()) {
            return controller.dispatchMotionEvent(event);
        }
        return false;
    }
1331992
private boolean hasTimedOut(BackedSession d, long now) {
        boolean timedOut = false;
        int timeout = d.getMaxInactiveInterval();

        //Zero means we just read the session from database
        if (timeout > 0) {
            long lastTouch = d.getCurrentAccessTime();
            long invalidLastTouch = now - (1000 * (long) timeout);//PK90548

            if (lastTouch <= invalidLastTouch) {
                timedOut = true;
            }
        }

        return timedOut;
    }
494261
@Override
  public boolean handleResponse(HttpRequest request, HttpResponse response, boolean supportsRetry)
      throws IOException {
    if (!supportsRetry) {
      return false;
    }
    // check if back-off is required for this response
    if (backOffRequired.isRequired(response)) {
      try {
        return BackOffUtils.next(sleeper, backOff);
      } catch (InterruptedException exception) {
        // ignore
      }
    }
    return false;
  }
237372
private boolean isRollbackOnlyAllowed() {
        switch (state) {
            case PRE_CREATE:
            case AFTER_COMPLETION:
                return false;

            case CREATING:
                return isLifecycleCallbackGlobalTx(LifecycleInterceptorWrapper.MID_POST_CONSTRUCT);

            case ACTIVATING:
                return isLifecycleCallbackGlobalTx(LifecycleInterceptorWrapper.MID_PRE_PASSIVATE);

            case PASSIVATING:
                return isLifecycleCallbackGlobalTx(LifecycleInterceptorWrapper.MID_PRE_PASSIVATE);

            case REMOVING:
                return isLifecycleCallbackGlobalTx(LifecycleInterceptorWrapper.MID_PRE_DESTROY);

            case DESTROYED:
                return destroying && isLifecycleCallbackGlobalTx(LifecycleInterceptorWrapper.MID_PRE_DESTROY);
        }

        return true;
    }
428261
public boolean goBack() {
        if (_entries.size() > 0 &&
            (_entries.get(0).getName().equals(".."))) {
            _list.performItemClick(_list, 0, 0);
            return true;
        }
        return false;
    }
1120672
public function __isAllowed()
    {
        if ($this->checkAuthentication !== true) {
            // this controller is not responsible for the authentication
            return false;
        }

        $this->typo3Loader->initializeBackendEndUser();

        $beUser = $this->typo3Loader->getBackEndUser();
        if (false === is_array($beUser->user) || empty($beUser->user['uid'])) {
            return false;
        }
        return true;
    }
526960
public boolean hasConsumersAttached()
    {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(tc, "hasConsumersAttached");

        //Does the consumer list have any elements? If so return true, else false
        boolean hasConsumersAttached = (getConsumerCount() > 0);

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.exit(tc, "hasConsumersAttached", Boolean.valueOf(hasConsumersAttached));

        return hasConsumersAttached;
    }
1021920
public boolean isHandled()
    {
        if (_handled) return true;

        HttpResponse response = getHttpResponse();
        return (response != null && response.getState() != HttpMessage.__MSG_EDITABLE);
    }
737987
public boolean hasPrevious() throws DBException
    {
        if (m_iCurrentRecord >= m_iRecordsAccessed)
            return true;
        Object record = this.previous();
        if (record == null)
            return false;
        else
        {
            m_iRecordsAccessed--;   // Offically this record has not been accessed
            return true;
        }
    }
919930
public boolean hasNext() {
		if(hitLast) {
			return false;
		}
		if(cursor == null) {
			return false;
		}
		if(!gotNext) {
			OperationStatus status;
			// attempt to get the next:
			try {
				if(backward) {
					status = cursor.getPrev(key, value, LockMode.DEFAULT);
				} else {
					status = cursor.getNext(key, value, LockMode.DEFAULT);
				}
				if(status == OperationStatus.SUCCESS) {
					gotNext = true;
				} else {
					close();
				}
			} catch (DatabaseException e) {
				// SLOP: throw a runtime?
				e.printStackTrace();
				close();
			}			
		}
		return gotNext;
	}
905922
public boolean handleCloseGroup() {
		this.currentSubGroupCount--;
		if(this.newList != null && this.currentSubGroupCount == 0) {
			this.importHeader.importList(Integer.toString(this.currentListMappingNumber), 
					Integer.toString(this.newList.getListNumber()));
			this.rtfParser.getRtfDocument().add(this.newList);
		}
		return true;
	}
584857
public void goBack() {
        String action = "Going back one page";
        String expected = "Previous page from browser history is loaded";
        try {
            driver.navigate().back();
        } catch (Exception e) {
            reporter.fail(action, expected, "Browser was unable to go back one page. " + e.getMessage());
            log.warn(e);
            return;
        }
        reporter.pass(action, expected, expected);
    }
451064
function onHardwareBackButton(e) {
    var backView = $ionicHistory.backView();
    if (backView) {
      // there is a back view, go to it
      backView.go();
    } else {
      // there is no back view, so close the app instead
      ionic.Platform.exitApp();
    }
    e.preventDefault();
    return false;
  }
422380
public boolean isButtonPressed(int index, int controller) {
		if (controller >= getControllerCount()) {
			return false;
		}

		if (controller == ANY_CONTROLLER) {
			for (int i=0;i<controllers.size();i++) {
				if (isButtonPressed(index, i)) {
					return true;
				}
			}
			
			return false;
		}
		
		return ((Controller) controllers.get(controller)).isButtonPressed(index);
	}
700056
private boolean isReady() {
    if (this.status != Status.READY) {
      // e.g. if the node is disabled, it is not ready to run.
      return false;
    }
    for (final Node parent : this.parents) {
      if (!parent.status.isSuccessEffectively()) {
        return false;
      }
    }
    return true;
  }